diff options
author | Peter Jones <pjones@redhat.com> | 2017-06-26 14:54:28 -0400 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2017-07-01 13:59:17 +0200 |
commit | aec58a9d386d4199374139cd1fc466826ac3d2cf (patch) | |
tree | 81e24d83a4e95410fd63b986dc420f8d488fce66 /AUTHORS | |
parent | 4bd708d41090fbe00acb41246eb22fa8b5632967 (diff) | |
download | gitpython-aec58a9d386d4199374139cd1fc466826ac3d2cf.tar.gz |
Repo: handle worktrees better
This makes Repo("foo") work when foo/.git is a file of the form created
by "git worktree add", i.e. it's a text file that says:
gitdir: /home/me/project/.git/worktrees/bar
and where /home/me/project/.git/ is the nominal gitdir, but
/home/me/project/.git/worktrees/bar has this worktree's HEAD etc and a
"gitdir" file that contains the path of foo/.git .
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,5 +18,6 @@ Contributors are: -Bernard `Guyzmo` Pratz <guyzmo+gitpython+pub@m0g.net> -Timothy B. Hartman <tbhartman _at_ gmail.com> -Konstantin Popov <konstantin.popov.89 _at_ yandex.ru> +-Peter Jones <pjones _at_ redhat.com> Portions derived from other open source works and are clearly marked. |