summaryrefslogtreecommitdiffstats
path: root/git-checkout.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-26 04:10:01 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-26 04:10:01 +0100
commit1ab58e8d6f728cdde0057f7ee88daab3a1c2d06f (patch)
tree7d39ffb6f1aa0676c244cf279ddb940cc71489bf /git-checkout.sh
parentPrint the real filename that we failed to open. (diff)
parentMerge branch 'maint' of git://linux-nfs.org/~bfields/git into maint (diff)
downloadgit-1ab58e8d6f728cdde0057f7ee88daab3a1c2d06f.tar.xz
git-1ab58e8d6f728cdde0057f7ee88daab3a1c2d06f.zip
Merge branch 'maint'
* maint: user-manual: recovering from corruption user-manual: clarify language about "modifying" old commits user-manual: failed push to public repository user-manual: define "branch" and "working tree" at start git-checkout: describe detached head correctly
Diffstat (limited to 'git-checkout.sh')
-rwxr-xr-xgit-checkout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-checkout.sh b/git-checkout.sh
index aa724ac1a3..f80939da5a 100755
--- a/git-checkout.sh
+++ b/git-checkout.sh
@@ -175,7 +175,7 @@ detach_warn=
describe_detached_head () {
test -n "$quiet" || {
printf >&2 "$1 "
- GIT_PAGER= git log >&2 -1 --pretty=oneline --abbrev-commit "$2"
+ GIT_PAGER= git log >&2 -1 --pretty=oneline --abbrev-commit "$2" --
}
}