summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorGiel van Schijndel <Giel.vanSchijndel@tomtom.com>2021-01-13 15:23:41 +0100
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-01-14 12:04:03 +0800
commit037d62a9966743cf7130193fa08d5182df251b27 (patch)
tree04599ed103e69ddce5ee6e7fe3c257c909f42bda /git/cmd.py
parentdd3cdfc9d647ecb020625351e0ff3a7346e1918d (diff)
downloadgitpython-037d62a9966743cf7130193fa08d5182df251b27.tar.gz
fix(fetch): use the correct FETCH_HEAD from within a worktree
FETCH_HEAD is one of the symbolic references local to the current worktree and as such should _not_ be looked up in the 'common_dir'. But instead of just hard coding the "right thing" (git_dir) lets defer this to the SymbolicReference class which already contains this knowledge in its 'abspath' property.
Diffstat (limited to 'git/cmd.py')
0 files changed, 0 insertions, 0 deletions