summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: de52f5a)
raw | patch | inline | side by side (parent: de52f5a)
author | Christian Couder <chriscool@tuxfamily.org> | |
Fri, 24 Apr 2009 06:29:01 +0000 (08:29 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 May 2009 07:30:29 +0000 (00:30 -0700) |
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | patch | blob | history |
diff --git a/git-am.sh b/git-am.sh
index 6d1848b6cce89e4953a3ca6e1b2e6e1611277a4a..578780be138b216dc89333e1fde87ddcb91e5e54 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
fi
sq () {
- for sqarg
- do
- printf "%s" "$sqarg" |
- sed -e 's/'\''/'\''\\'\'''\''/g' -e 's/.*/ '\''&'\''/'
- done
+ git rev-parse --sq-quote "$@"
}
stop_here () {