summaryrefslogtreecommitdiff
path: root/git-sh-setup.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-13 14:33:19 -0800
committerJunio C Hamano <gitster@pobox.com>2008-02-13 14:33:19 -0800
commitaa8d53ec387a7baf72ab5e3a91c35bb5bf20eb4d (patch)
tree8e9410d69333688d32ccab097beaa48b10850833 /git-sh-setup.sh
parent41e2edf41a6d501f1b8beca7f1f0bcbe9296dcc2 (diff)
parentd8e87570c32b190af3991d180f37adb8cf5eb99c (diff)
downloadgit-aa8d53ec387a7baf72ab5e3a91c35bb5bf20eb4d.tar.gz
Merge branch 'maint'
* maint: config: add test cases for empty value and no value config variables. cvsimport: have default merge regex also match beginning of commit message git clone -s documentation: force a new paragraph for the NOTE status: suggest "git rm --cached" to unstage for initial commit Protect get_author_ident_from_commit() from filenames in work tree upload-pack: Initialize the exec-path. bisect: use verbatim commit subject in the bisect log git-cvsimport.txt: fix '-M' description. Revert "pack-objects: only throw away data during memory pressure"
Diffstat (limited to 'git-sh-setup.sh')
-rwxr-xr-xgit-sh-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh
index aae14090bd..f38827529f 100755
--- a/git-sh-setup.sh
+++ b/git-sh-setup.sh
@@ -119,7 +119,7 @@ get_author_ident_from_commit () {
}
'
encoding=$(git config i18n.commitencoding || echo UTF-8)
- git show -s --pretty=raw --encoding="$encoding" "$1" |
+ git show -s --pretty=raw --encoding="$encoding" "$1" -- |
LANG=C LC_ALL=C sed -ne "$pick_author_script"
}