summaryrefslogtreecommitdiff
path: root/t/t4013/diff.format-patch_--stdout_initial..master^
AgeCommit message (Collapse)Author
2008-10-18format-patch: autonumber by defaultBrian Gernhardt
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 <benji@silverinsanity.com> Test-updates-by: Jeff King <peff@peff.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-01-18Add --summary to git-format-patch by defaultJunio C Hamano
This adds --summary output in addition to the --stat to the output from git-format-patch by default. I think additions, removals and filemode changes are rare but notable events and always showing it makes sense. Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-07-14Adjust t4013 tests to corrected format-patch.Junio C Hamano
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-07-14t4013 diff format tests updateJunio C Hamano
This changes one test commit in the sequence to have more than one lines of commit log. A few output formats (--pretty=email aka format-patch and --pretty=oneline) need to behave differently on single and multi-line log, and this change will help catching breakages. Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-06-29t4013: add format-patch tests.Junio C Hamano
Signed-off-by: Junio C Hamano <junkio@cox.net>