From: Junio C Hamano Date: Mon, 18 Jun 2012 18:32:03 +0000 (-0700) Subject: sha1_name.c: allow get_short_sha1() to take other flags X-Git-Tag: v1.7.12-rc0~22^2~16 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/37c00e5590605c9d3ba76b6c9d7a94ac0356f703?hp=37c00e5590605c9d3ba76b6c9d7a94ac0356f703 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 ---