path: root/diff-no-index.c
diff options
authorBrian Gernhardt <>2008-10-02 20:55:39 (GMT)
committerJunio C Hamano <>2008-10-18 14:18:03 (GMT)
commita567fdcb016e8e882ec0a1e044c9caac8f70e693 (patch)
treef88049a47c7d2355574599e0beb49de7d47d9d6a /diff-no-index.c
parent5c283eb13c94be6ca974aa722159dc9838d10d97 (diff)
format-patch: autonumber by default
format-patch is most commonly used for multiple patches at once when sending a patchset, in which case we want to number the patches; on the other hand, single patches are not usually expected to be numbered. In other words, the typical behavior expected from format-patch is the one obtained by enabling autonumber, so we set it to be the default. Users that want to disable numbering for a particular patchset can do so with the existing -N command-line switch. Users that want to change the default behavior can use the format.numbering config key. Signed-off-by: Brian Gernhardt <> Test-updates-by: Jeff King <> Signed-off-by: Shawn O. Pearce <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions