summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-04-14 04:18:46 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-04-14 04:18:46 -0700
commitedb4fd79ec34254fc4a1c35e8834df4c92cb3bfd (patch)
tree7a983deb4620bc3de0a26d091381b03b35ea8933 /git-rebase.sh
parentMerge branch 'jc/cherry' (diff)
parentgit-quiltimport complaining yet still working (diff)
downloadtgif-edb4fd79ec34254fc4a1c35e8834df4c92cb3bfd.tar.xz
Merge branch 'maint'
* maint: git-quiltimport complaining yet still working config.txt: Fix grammatical error in description of http.noEPSV config.txt: Change pserver to server in description of gitcvs.* config.txt: Document core.autocrlf config.txt: Document gitcvs.allbinary Do not default to --no-index when given two directories. Use rev-list --reverse in git-rebase.sh
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 1d96f32685..2dc2c4fe9b 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -339,8 +339,7 @@ prev_head=`git-rev-parse HEAD^0`
echo "$prev_head" > "$dotest/prev_head"
msgnum=0
-for cmt in `git-rev-list --no-merges "$upstream"..ORIG_HEAD \
- | @@PERL@@ -e 'print reverse <>'`
+for cmt in `git-rev-list --reverse --no-merges "$upstream"..ORIG_HEAD`
do
msgnum=$(($msgnum + 1))
echo "$cmt" > "$dotest/cmt.$msgnum"