🌐 AI搜索 & 代理 主页
blob: 3c514a5ab4f923db5e412fe5552960d8382ea9f5 [file] [log] [blame]
Thomas Gummerer7c85a872017-11-26 19:43:511#ifndef CHECKOUT_H
2#define CHECKOUT_H
3
Elijah Newrend1cbe1e2023-04-22 20:17:204#include "hash-ll.h"
Thomas Gummerer7c85a872017-11-26 19:43:515
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.
10 */
Denton Liu55454422019-04-29 08:28:1411const char *unique_tracking_name(const char *name,
Denton Liuad6dad02019-04-29 08:28:2312 struct object_id *oid,
13 int *dwim_remotes_matched);
Thomas Gummerer7c85a872017-11-26 19:43:5114
15#endif /* CHECKOUT_H */