summaryrefslogtreecommitdiff
path: root/ppc/sha1.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-01-09 20:39:09 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-09 20:40:39 -0800
commitbfbbb8f8cf8250718ffd028efe179557d29ae72d (patch)
tree38c08b88ed30aafebc78d9c363047f33d73c642b /ppc/sha1.h
parentgit-checkout: safety check for detached HEAD checks existing refs (diff)
downloadtgif-bfbbb8f8cf8250718ffd028efe179557d29ae72d.tar.xz
git-checkout: handle local changes sanely when detaching HEAD
When switching branches, we usually first try read-tree to make sure that we do not lose the local changes and then updated the HEAD using update-ref. However, we detached and updated HEAD before these checks, which was quite bad in a repository with local changes. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ppc/sha1.h')
0 files changed, 0 insertions, 0 deletions