diff options
| author | Patrick Steinhardt <ps@pks.im> | 2015-10-27 12:37:51 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-02-13 11:03:01 +0100 |
| commit | 04fb12abb24810391fa19af5696eb38629d650df (patch) | |
| tree | cd926fbf2e9e3172ea9d0618efe6505e06089657 /include/git2/worktree.h | |
| parent | f0cfc34105fd68af9eb6e2024459c40c45e7d3a0 (diff) | |
| download | libgit2-04fb12abb24810391fa19af5696eb38629d650df.tar.gz | |
worktree: implement functions reading HEAD
Implement `git_repository_head_for_worktree` and
`git_repository_head_detached_for_worktree` for directly accessing a
worktree's HEAD without opening it as a `git_repository` first.
Diffstat (limited to 'include/git2/worktree.h')
| -rw-r--r-- | include/git2/worktree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/worktree.h b/include/git2/worktree.h index 594ff795b..ec869fb59 100644 --- a/include/git2/worktree.h +++ b/include/git2/worktree.h @@ -77,7 +77,7 @@ GIT_EXTERN(int) git_worktree_validate(const git_worktree *wt); */ GIT_EXTERN(int) git_worktree_add(git_worktree **out, git_repository *repo, const char *name, const char *path); -/* +/** * Lock worktree if not already locked * * Lock a worktree, optionally specifying a reason why the linked |
