2017-11-26 20:43:51 +01: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 16:40:43 +02:00
|
|
|
extern const char *unique_tracking_name(const char *name,
|
2018-06-05 16:40:46 +02:00
|
|
|
struct object_id *oid,
|
|
|
|
int *dwim_remotes_matched);
|
2017-11-26 20:43:51 +01:00
|
|
|
|
|
|
|
#endif /* CHECKOUT_H */
|