]> gitweb.ps.run Git - ps-cgit/commit
patch: reapply path limit
authorJohn Keeping <john@keeping.me.uk>
Mon, 14 Mar 2016 22:41:14 +0000 (22:41 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 12 Oct 2016 11:28:15 +0000 (13:28 +0200)
commit5fe88a9c81517b1a8a93d930c738cbb6f71dec2a
treecf73550f05a2aa7c67aed51cf9726fdd6a42a86c
parentc177379547f93955fbd251b2a70a22b9bb85a257
patch: reapply path limit

This was originally applied added in commit eac1b67 (ui-patch: Apply
path limit to generated patch, 2010-06-10) but the ability to limit
patches to particular paths was lost in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20).

The new output is slightly different from the original because Git's
diff infrastructure doesn't give us a way to insert an annotation
immediately after the "---" separator, so the commit has moved below the
diff stat.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-patch.c