Code

config.c:store_write_pair(): don't read the byte before a malloc'd buffer.
[git.git] / git-checkout.sh
index 17f43927aa7b766c1ba28150c4945fac7ff3e132..5ca71242e7e41662b2ab960566b2e5fa32e89da9 100755 (executable)
@@ -169,7 +169,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" --
        }
 }