Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-09-23 12:41:45 +0300
committerJunio C Hamano <gitster@pobox.com>2017-09-24 04:18:18 +0300
commit54fad6614fc6b61ee6eb4a5b3daa7a2239019b49 (patch)
treea92e973eb56be4876524c2fdae0239bf1afff1f1 /worktree.c
parent59c0ea183ad1c5c2b3790caa5046e4ecfa839247 (diff)
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 'worktree.c')
0 files changed, 0 insertions, 0 deletions