about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2018-06-13 10:02:00 +0800
committerJohn Keeping <john@keeping.me.uk>2018-06-16 15:20:11 +0100
commit7708859c4dcebff1e43516c23a8bf80f88fcea35 (patch)
treee09d7f84591af560978b7611bf2c1742a89ba868 /tests
parentMakefile: drive asciidoc directly for HTML output (diff)
downloadcgit-pink-7708859c4dcebff1e43516c23a8bf80f88fcea35.tar.gz
cgit-pink-7708859c4dcebff1e43516c23a8bf80f88fcea35.zip
ui-tree: free read_sha1_file() buffer after use
Free up the buffer allocated in read_sha1_file()

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
a0a72fac72604f930d62b4fa7d&follow=1'>Replace htagml 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