| Thomas Gummerer | 7c85a87 | 2017-11-26 19:43:51 | [diff] [blame] | 1 | #ifndef CHECKOUT_H |
| 2 | #define CHECKOUT_H | ||||
| 3 | |||||
| Elijah Newren | d1cbe1e | 2023-04-22 20:17:20 | [diff] [blame] | 4 | #include "hash-ll.h" |
| Thomas Gummerer | 7c85a87 | 2017-11-26 19:43:51 | [diff] [blame] | 5 | |
| 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. | ||||
| 10 | */ | ||||
| Denton Liu | 5545442 | 2019-04-29 08:28:14 | [diff] [blame] | 11 | const char *unique_tracking_name(const char *name, |
| Denton Liu | ad6dad0 | 2019-04-29 08:28:23 | [diff] [blame] | 12 | struct object_id *oid, |
| 13 | int *dwim_remotes_matched); | ||||
| Thomas Gummerer | 7c85a87 | 2017-11-26 19:43:51 | [diff] [blame] | 14 | |
| 15 | #endif /* CHECKOUT_H */ | ||||