make inline is_null_sha1 global
authorDavid Rientjes <rientjes@google.com>
Tue, 15 Aug 2006 20:37:19 +0000 (13:37 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 15 Aug 2006 22:06:03 +0000 (15:06 -0700)
commit0bef57ee44a2f924ad0066b751a3c87888633f56
tree6ef7a0dacc219c10994f48944e159598e916f88e
parent3cd4f5e8eb04ae01298ceaf46bb41a4277031916
make inline is_null_sha1 global

Replace sha1 comparisons to null_sha1 with a global inline (which previously an
unused static inline in builtin-apply.c)

[jc: with a fix from Jonas Fonseca.]

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c
builtin-diff.c
cache.h
combine-diff.c
diff.c
fsck-objects.c
sha1_name.c