]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/worktree.c
checkout: pass the "num_matches" up to callers
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 5 Jun 2018 14:40:46 +0000 (14:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Jun 2018 16:41:01 +0000 (09:41 -0700)
commit3c87aa946a9ffc31cf1355b11e63df7c3315a2f9
tree30880fd6d627b4e9dc6a7640146e5a9620bf8b01
parente4d2d55ae46216872c9eaa3b9d0072aa8361d5d3
checkout: pass the "num_matches" up to callers

Pass the previously added "num_matches" struct value up to the callers
of unique_tracking_name(). This will allow callers to optionally print
better error messages in a later change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
builtin/worktree.c
checkout.c
checkout.h