checkout: factor out functions to new lib file
[git.git] / checkout.h
blob998071117952de27f2ec0c16d7b3d49abaa952bc
1 #ifndef CHECKOUT_H
2 #define CHECKOUT_H
4 #include "cache.h"
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.
11 extern const char *unique_tracking_name(const char *name, struct object_id *oid);
13 #endif /* CHECKOUT_H */