2017-11-26 22:43:51 +03:00
|
|
|
#ifndef CHECKOUT_H
|
|
|
|
#define CHECKOUT_H
|
|
|
|
|
|
|
|
#include "cache.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
2018-06-05 17:40:43 +03:00
|
|
|
extern const char *unique_tracking_name(const char *name,
|
2018-06-05 17:40:46 +03:00
|
|
|
struct object_id *oid,
|
|
|
|
int *dwim_remotes_matched);
|
2017-11-26 22:43:51 +03:00
|
|
|
|
|
|
|
#endif /* CHECKOUT_H */
|