blob: 71b14092c4b331a0a1ae2a32c71632c2ceffbd58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef WORKTREE_H
#define WORKTREE_H
/*
* Check if a per-worktree symref points to a ref in the main worktree
* or any linked worktree, and return the path to the exising worktree
* if it is. Returns NULL if there is no existing ref. The caller is
* responsible for freeing the returned path.
*/
extern char *find_shared_symref(const char *symref, const char *target);
#endif
|