2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-12 01:10:27 +00:00
cgit/tests
John Keeping 7552266aac ui-patch: match git-format-patch(1) output
Using (DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH) causes Git to emit a
"---" line between the commit message and the body of the patch, which
fixes a regression introduced in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20), prior to which we
inserted the "---" line ourselves.

DIFF_FORMAT_SUMMARY is added so that we match the output of
git-format-patch(1) without the "-p" option.

Signed-off-by: John Keeping <john@keeping.me.uk>
2014-12-28 14:44:44 +01:00
..
filters t0111: Additions and fixes 2014-01-16 00:53:18 +01:00
valgrind/bin tests: add Valgrind support 2014-01-12 19:33:03 +01:00
.gitignore tests/.gitignore: update for using Git's test infrastructure 2013-04-08 22:27:53 +02:00
Makefile tests: add CGIT_TEST_OPTS variable to Makefile 2014-01-12 23:03:54 +01:00
setup.sh tests: only do lua tests if lua is compiled-in 2014-01-20 13:11:10 +01:00
t0001-validate-git-versions.sh t0001: validate Git -rcN version numbers correctly 2013-04-27 17:21:22 +02:00
t0010-validate-html.sh tests/: Do not use sed -i 2013-04-10 14:49:31 +02:00
t0020-validate-cache.sh cache.c: cache ls_cache output properly 2013-05-22 12:53:06 +02:00
t0101-index.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0102-summary.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0103-log.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0104-tree.sh Reduce line number bloat, fix hover effect 2014-01-08 14:59:38 +01:00
t0105-commit.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0106-diff.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0107-snapshot.sh tests: introduce strip_header() helper function 2013-05-22 12:53:06 +02:00
t0108-patch.sh ui-patch: match git-format-patch(1) output 2014-12-28 14:44:44 +01:00
t0109-gitconfig.sh t0109: "function" is a bash-ism 2013-05-13 15:16:48 +02:00
t0110-rawdiff.sh tests/: Add t0110-rawdiff.sh 2013-08-26 21:04:02 +02:00
t0111-filter.sh tests: only do lua tests if lua is compiled-in 2014-01-20 13:11:10 +01:00