summaryrefslogtreecommitdiffstats
path: root/checkout.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-06-05 16:40:46 +0200
committerJunio C Hamano <gitster@pobox.com>2018-06-11 18:41:01 +0200
commit3c87aa946a9ffc31cf1355b11e63df7c3315a2f9 (patch)
tree30880fd6d627b4e9dc6a7640146e5a9620bf8b01 /checkout.h
parentcheckout.c: change "unique" member to "num_matches" (diff)
downloadgit-3c87aa946a9ffc31cf1355b11e63df7c3315a2f9.tar.xz
git-3c87aa946a9ffc31cf1355b11e63df7c3315a2f9.zip
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>
Diffstat (limited to 'checkout.h')
-rw-r--r--checkout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkout.h b/checkout.h
index 4cd4cd1c23..6b2073310c 100644
--- a/checkout.h
+++ b/checkout.h
@@ -9,6 +9,7 @@
* exists, NULL otherwise.
*/
extern const char *unique_tracking_name(const char *name,
- struct object_id *oid);
+ struct object_id *oid,
+ int *dwim_remotes_matched);
#endif /* CHECKOUT_H */