summaryrefslogtreecommitdiffstats
path: root/subcmds/rebase.py
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-12-15 13:40:05 -0800
committerDan Willemsen <dwillemsen@google.com>2015-12-15 14:22:40 -0800
commit1a799d14b71c3f694aa62edf99310bc3e1a482d5 (patch)
treede43af900d722c45189dedcd2c30321686af5e77 /subcmds/rebase.py
parente9becc079c647f6c9477eed83c0aecb2f591fdf4 (diff)
downloadgit-repo-1a799d14b71c3f694aa62edf99310bc3e1a482d5.tar.gz
Fix prune when bare git has detached head
We don't really use HEAD much in the bare git repositories, but there have been reports of errors in git-symbolic-ref: symbolic-ref: fatal: Refusing to point HEAD outside of refs/ That happen when the bare git repo is in the detached head state. It's possible that previous operations were killed while we were pruning branches. Use DetachHead instead of SetHead if we're restoring the repo into a detached head state. Change-Id: I9062e8957bc70367d3ded399685ac026fbb421fc
Diffstat (limited to 'subcmds/rebase.py')
0 files changed, 0 insertions, 0 deletions