checkout: refer to other-worktree branch, not ref
[git/gitster.git] / checkout.h
blob55920e7aeb243d586bc523c41157dd41c58f148c
1 #ifndef CHECKOUT_H
2 #define CHECKOUT_H
4 #include "hash.h"
6 /*
7 * Check if the branch name uniquely matches a branch name on a remote
8 * tracking branch. Return the name of the remote if such a branch
9 * exists, NULL otherwise.
11 char *unique_tracking_name(const char *name,
12 struct object_id *oid,
13 int *dwim_remotes_matched);
15 #endif /* CHECKOUT_H */