summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-08 10:42:30 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-08 11:02:11 (GMT)
commitead80606d47ed94aad958ee660f62cde00bb6018 (patch)
tree03f53b526480a5293d82d8e64a2660c203a3a4f6 /http.h
parent73c838e4c9437a0c41082c32a3a832aa385460a9 (diff)
downloadgit-ead80606d47ed94aad958ee660f62cde00bb6018.zip
git-ead80606d47ed94aad958ee660f62cde00bb6018.tar.gz
git-ead80606d47ed94aad958ee660f62cde00bb6018.tar.bz2
git-checkout: safety when coming back from the detached HEAD state.
After making commits in the detached HEAD state, if you run "git checkout" to switch to an existing branch, you will lose your work. Make sure the switched-to branch is a fast-forward of the current HEAD, or require -f when switching. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http.h')
0 files changed, 0 insertions, 0 deletions