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
..
2016-05-09 12:29:08 -07:00
2016-06-03 14:38:04 -07:00
2016-02-26 13:37:16 -08:00
2015-11-20 08:02:05 -05:00
2016-05-17 14:38:28 -07:00
2016-05-06 14:45:44 -07:00
2016-05-09 12:29:08 -07:00
2016-05-23 14:54:31 -07:00
2016-02-10 14:20:08 -08:00
2015-10-21 15:59:34 -07:00
2016-02-26 13:37:16 -08:00
2016-04-29 12:59:07 -07:00
2016-05-17 14:38:28 -07:00
2016-05-17 14:38:23 -07:00
2016-02-26 13:37:25 -08:00
2015-10-05 13:20:08 -07:00
2015-11-20 08:02:05 -05:00
2016-05-17 14:38:28 -07:00
2016-01-28 16:10:14 -08:00
2016-04-29 12:59:09 -07:00