summaryrefslogtreecommitdiff
path: root/git-rebase--interactive.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-07-27 15:14:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-27 15:14:21 -0700
commit3dcacd7797082cb8e6f3c10970e18dd843433e3a (patch)
tree5dce98361218d7d04b7d3cced3170fb14e5cca63 /git-rebase--interactive.sh
parentMerge branch 'cc/replace-graft' (diff)
parentrebase: omit patch-identical commits with --fork-point (diff)
downloadtgif-3dcacd7797082cb8e6f3c10970e18dd843433e3a.tar.xz
Merge branch 'jk/rebase-am-fork-point'
"git rebase --fork-point" did not filter out patch-identical commits correctly. * jk/rebase-am-fork-point: rebase: omit patch-identical commits with --fork-point rebase--am: use --cherry-pick instead of --ignore-if-in-upstream
Diffstat (limited to 'git-rebase--interactive.sh')
-rw-r--r--git-rebase--interactive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 7e1eda0088..b64dd28acf 100644
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -963,7 +963,7 @@ else
fi
git rev-list $merges_option --pretty=oneline --abbrev-commit \
--abbrev=7 --reverse --left-right --topo-order \
- $revisions | \
+ $revisions ${restrict_revision+^$restrict_revision} | \
sed -n "s/^>//p" |
while read -r shortsha1 rest
do