Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/fix-clone-single-starting-at-a-tag' into maint
[gitweb.git]
/
contrib
/
examples
/
git-revert.sh
diff --git
a/contrib/examples/git-revert.sh
b/contrib/examples/git-revert.sh
index 6bf155cbdb61498bdaf84712a2dea6fb05361ce2..7e2aad549103c0c2cdaa452a60a16706f0c7e117 100755
(executable)
--- a/
contrib/examples/git-revert.sh
+++ b/
contrib/examples/git-revert.sh
@@
-137,7
+137,7
@@
cherry-pick)
q
}'
- logmsg=
`git show -s --pretty=raw --encoding="$encoding" "$commit"`
+ logmsg=
$(git show -s --pretty=raw --encoding="$encoding" "$commit")
set_author_env=`echo "$logmsg" |
LANG=C LC_ALL=C sed -ne "$pick_author_script"`
eval "$set_author_env"