git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / checkout.h
| 1 | #ifndef CHECKOUT_H |
| 2 | #define CHECKOUT_H |
| 3 | |
| 4 | #include "hash.h" |
| 5 | |
| 6 | struct string_list; |
| 7 | |
| 8 | /* |
| 9 | * Check if the branch name uniquely matches a branch name on a remote |
| 10 | * tracking branch. Return the name of the remote if such a branch |
| 11 | * exists, NULL otherwise. |
| 12 | */ |
| 13 | char *unique_tracking_name(const char *name, |
| 14 | struct object_id *oid, |
| 15 | int *dwim_remotes_matched, |
| 16 | struct string_list *dwim_remote_names); |
| 17 | |
| 18 | #endif /* CHECKOUT_H */ |