diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-03-15 15:29:29 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-03-17 09:27:55 +0100 |
| commit | 20a368e2d72e65b6401f18a440c24df0dd9683ae (patch) | |
| tree | e04e2eca7adcddfe49a457dd772631330c789bbe /src/worktree.h | |
| parent | 3017ba94a33a5dae07521afd96a94e21afb07b8c (diff) | |
| download | libgit2-20a368e2d72e65b6401f18a440c24df0dd9683ae.tar.gz | |
worktree: parent path should point to the working dir
The working tree's parent path should not point to the parent's gitdir,
but to the parent's working directory. Pointing to the gitdir would not
make any sense, as the parent's working directory is actually equal to
both repository's common directory.
Fix the issue.
Diffstat (limited to 'src/worktree.h')
| -rw-r--r-- | src/worktree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worktree.h b/src/worktree.h index b8e527968..57c2e65f0 100644 --- a/src/worktree.h +++ b/src/worktree.h @@ -24,7 +24,7 @@ struct git_worktree { /* Path to the common directory contained in the parent * repository */ char *commondir_path; - /* Path to the parent's .git directory */ + /* Path to the parent's working directory */ char *parent_path; int locked:1; |
