diff options
author | René Scharfe <l.s.r@web.de> | 2017-09-23 11:41:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-24 10:18:18 +0900 |
commit | 54fad6614fc6b61ee6eb4a5b3daa7a2239019b49 (patch) | |
tree | a92e973eb56be4876524c2fdae0239bf1afff1f1 /http-walker.c | |
parent | Merge branch 'jk/leak-checkers' (diff) | |
download | tgif-54fad6614fc6b61ee6eb4a5b3daa7a2239019b49.tar.xz |
refs: make sha1 output parameter of refs_resolve_ref_unsafe() optional
Allow callers of refs_resolve_ref_unsafe() to pass NULL if they don't
need the resolved hash value. We already allow the same for the flags
parameter. This new leniency is inherited by the various wrappers like
resolve_ref_unsafe().
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-walker.c')
0 files changed, 0 insertions, 0 deletions