hash-object: pass 'write_object' as a flag
authorJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2014 19:44:05 +0000 (12:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2014 19:48:01 +0000 (12:48 -0700)
Instead of forcing callers of lower level functions write
(write_object ? HASH_WRITE_OBJECT : 0), prepare the flag to be
passed down in the callchain from the command line parser.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found