summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-12-03 13:53:58 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-12-03 13:53:58 -0800
commit957f5db74fcf2a00260c8bdef4bf147b1b990914 (patch)
tree293baa7d48d5c9428b2ffc232519f875d4cd5770 /git-rebase.sh
parentMerge branch 'rj/maint-cygwin-count-objects' into maint (diff)
parentProtect scripted Porcelains from GREP_OPTIONS insanity (diff)
downloadtgif-957f5db74fcf2a00260c8bdef4bf147b1b990914.tar.xz
Merge branch 'rs/work-around-grep-opt-insanity' into maint
* rs/work-around-grep-opt-insanity: Protect scripted Porcelains from GREP_OPTIONS insanity mergetool--lib: simplify guess_merge_tool()
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 6ec155cf03..0ec435558f 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -467,7 +467,7 @@ orig_head=$branch
mb=$(git merge-base "$onto" "$branch")
if test "$upstream" = "$onto" && test "$mb" = "$onto" &&
# linear history?
- ! (git rev-list --parents "$onto".."$branch" | grep " .* ") > /dev/null
+ ! (git rev-list --parents "$onto".."$branch" | sane_grep " .* ") > /dev/null
then
if test -z "$force_rebase"
then