git-commit-vandalism/t/helper
brian m. carlson f449198e58 coccinelle: convert hashcpy() with null_sha1 to hashclr()
hashcpy with null_sha1 as the source is equivalent to hashclr.  In
addition to being simpler, using hashclr may give the compiler a chance
to optimize better.  Convert instances of hashcpy with the source
argument of null_sha1 to hashclr.

This transformation was implemented using the following semantic patch:

@@
expression E1;
@@
-hashcpy(E1, null_sha1);
+hashclr(E1);

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-06-28 11:39:02 -07:00
..
.gitignore
test-chmtime.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-config.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-ctype.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-date.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-delta.c
test-dump-cache-tree.c
test-dump-split-index.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-dump-untracked-cache.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-fake-ssh.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-genrandom.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-hashmap.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-index-version.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-line-buffer.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-match-trees.c Merge branch 'bc/object-id' 2016-05-06 14:45:44 -07:00
test-mergesort.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-mktemp.c
test-parse-options.c Merge branch 'jc/test-parse-options-expect' 2016-05-23 14:54:32 -07:00
test-path-utils.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-prio-queue.c
test-read-cache.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-regex.c
test-revision-walking.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-run-command.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-scrap-cache-tree.c
test-sha1-array.c
test-sha1.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-sha1.sh test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-sigchain.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-string-list.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-submodule-config.c coccinelle: convert hashcpy() with null_sha1 to hashclr() 2016-06-28 11:39:02 -07:00
test-subprocess.c
test-svn-fe.c
test-urlmatch-normalization.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00
test-wildmatch.c test helpers: move test-* to t/helper/ subdirectory 2016-04-15 10:12:19 -07:00