2017-11-26 22:43:51 +03:00
|
|
|
#ifndef CHECKOUT_H
|
|
|
|
#define CHECKOUT_H
|
|
|
|
|
2023-04-22 23:17:20 +03:00
|
|
|
#include "hash-ll.h"
|
2017-11-26 22:43:51 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Check if the branch name uniquely matches a branch name on a remote
|
|
|
|
* tracking branch. Return the name of the remote if such a branch
|
|
|
|
* exists, NULL otherwise.
|
|
|
|
*/
|
2019-04-29 11:28:14 +03:00
|
|
|
const char *unique_tracking_name(const char *name,
|
2019-04-29 11:28:23 +03:00
|
|
|
struct object_id *oid,
|
|
|
|
int *dwim_remotes_matched);
|
2017-11-26 22:43:51 +03:00
|
|
|
|
|
|
|
#endif /* CHECKOUT_H */
|