about summary refs log tree commit diff
path: root/filters/html-converters
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2016-03-14 22:41:14 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2016-10-12 13:28:15 +0200
commit5fe88a9c81517b1a8a93d930c738cbb6f71dec2a (patch)
treecf73550f05a2aa7c67aed51cf9726fdd6a42a86c /filters/html-converters
parentui-repolist: fix memory leak (diff)
downloadcgit-pink-5fe88a9c81517b1a8a93d930c738cbb6f71dec2a.tar.gz
cgit-pink-5fe88a9c81517b1a8a93d930c738cbb6f71dec2a.zip
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>
Diffstat (limited to 'filters/html-converters')
0 files changed, 0 insertions, 0 deletions
l regex with strncmpJune McEnroe Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe