summaryrefslogtreecommitdiff
path: root/git/objects/util.py
diff options
context:
space:
mode:
authorSimon Westphahl <simon.westphahl@bmw.de>2020-07-17 15:14:59 +0200
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-08-12 20:37:58 +0800
commit6ef37754527948af1338f8e4a408bda7034d004f (patch)
tree5de34a3f1562056dc418eb3fd2feb9447bbf6788 /git/objects/util.py
parent30387f16920f69544fcc7db40dfae554bcd7d1cc (diff)
downloadgitpython-6ef37754527948af1338f8e4a408bda7034d004f.tar.gz
Ensure only fully matching symrefs are deleted
Deleting a symbolic ref with e.g. the name 'refs/remotes/origin/mas' would also delete 'refs/remotes/origin/master' if the ref had to be deleted from the pack file. In order to fix this the full ref is now checked for a match.
Diffstat (limited to 'git/objects/util.py')
0 files changed, 0 insertions, 0 deletions