]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
sha1_name.c: allow get_short_sha1() to take other flags
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Jun 2012 18:32:03 +0000 (11:32 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2012 18:17:59 +0000 (11:17 -0700)
commit37c00e5590605c9d3ba76b6c9d7a94ac0356f703
tree39e7f67e8b6b8a7a5a4b576c0c923f2cfd348ed9
parentc005e98612c3ba896415cfa56df67ae8b240cc85
sha1_name.c: allow get_short_sha1() to take other flags

Instead of a separate "int quietly" argument, make it take "unsigned
flags" so that we can pass other options to it.

The bit assignment of this flag word is exposed in cache.h because
the mechanism will be exposed to callers of the higher layer in
later commits in this series.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_name.c