git-commit-vandalism/t/helper
René Scharfe 97487ea11a test-stringlist: avoid buffer underrun when sorting nothing
Check if the strbuf containing data to sort is empty before attempting
to trim a trailing newline character.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-10-04 13:41:49 +09:00
..
.gitignore
test-chmtime.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-config.c Merge branch 'jk/setup-sequence-update' 2016-09-21 15:15:24 -07:00
test-ctype.c
test-date.c
test-delta.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-dump-cache-tree.c test-*-cache-tree: setup git dir 2016-10-26 13:30:51 -07:00
test-dump-split-index.c
test-dump-untracked-cache.c use QSORT 2016-09-29 15:42:18 -07:00
test-fake-ssh.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-genrandom.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-hashmap.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-index-version.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-line-buffer.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-match-trees.c
test-mergesort.c
test-mktemp.c
test-parse-options.c
test-path-utils.c
test-prio-queue.c
test-read-cache.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-regex.c Merge branch 'jk/common-main' 2016-07-19 13:22:19 -07:00
test-revision-walking.c
test-run-command.c Merge branch 'rs/use-strbuf-addstr' 2016-08-08 14:48:41 -07:00
test-scrap-cache-tree.c test-*-cache-tree: setup git dir 2016-10-26 13:30:51 -07:00
test-sha1-array.c sha1_array: let callbacks interrupt iteration 2016-09-26 11:46:41 -07:00
test-sha1.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-sha1.sh
test-sigchain.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-string-list.c test-stringlist: avoid buffer underrun when sorting nothing 2017-10-04 13:41:49 +09:00
test-submodule-config.c Merge branch 'rs/submodule-config-code-cleanup' 2016-08-03 15:10:28 -07:00
test-subprocess.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-svn-fe.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-urlmatch-normalization.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00
test-wildmatch.c Merge branch 'jk/common-main-2.8' into jk/common-main 2016-07-06 10:02:57 -07:00