2017-11-26 20:43:51 +01:00
|
|
|
#ifndef CHECKOUT_H
|
|
|
|
#define CHECKOUT_H
|
|
|
|
|
2023-02-24 01:09:22 +01:00
|
|
|
#include "hash.h"
|
2017-11-26 20:43:51 +01: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 10:28:14 +02:00
|
|
|
const char *unique_tracking_name(const char *name,
|
2019-04-29 10:28:23 +02:00
|
|
|
struct object_id *oid,
|
|
|
|
int *dwim_remotes_matched);
|
2017-11-26 20:43:51 +01:00
|
|
|
|
|
|
|
#endif /* CHECKOUT_H */
|