summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47fc52e)
raw | patch | inline | side by side (parent: 47fc52e)
author | Nicolas Pitre <nico@cam.org> | |
Fri, 26 Jan 2007 22:26:11 +0000 (17:26 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 28 Jan 2007 10:16:46 +0000 (02:16 -0800) |
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh | patch | blob | history |
diff --git a/git-checkout.sh b/git-checkout.sh
index ac378cdb1e7365758bb9309b92a6def77e593ef0..1349e77f32157cc63fba6644ae2112c21ec5264e 100755 (executable)
--- a/git-checkout.sh
+++ b/git-checkout.sh
fi
if test -n "$branch"
then
- GIT_DIR="$GIT_DIR" git-symbolic-ref HEAD "refs/heads/$branch"
+ GIT_DIR="$GIT_DIR" git-symbolic-ref -m "checkout: moving to $branch" HEAD "refs/heads/$branch"
elif test -n "$detached"
then
# NEEDSWORK: we would want a command to detach the HEAD