summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-30 13:45:21 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-30 13:45:21 -0700
commit545222471004cc3fd53c54ff53d40a8bbc3dabe6 (patch)
tree69541daf226f975eaf8adeb42482da541b7c33c8 /git-rebase.sh
parente0aaa1b6532cfce93d87af9bc813fb2e7a7ce9d7 (diff)
parentadf16c08cb966be9c03e6f5b5b7614f617f81b95 (diff)
downloadgit-545222471004cc3fd53c54ff53d40a8bbc3dabe6.tar.gz
Merge branch 'pw/rebase-i-regression-fix-tests'
Fix a recent regression to "git rebase -i" and add tests that would have caught it and others. * pw/rebase-i-regression-fix-tests: t3420: fix under GETTEXT_POISON build rebase: add more regression tests for console output rebase: add regression tests for console output rebase -i: add test for reflog message sequencer: print autostash messages to stderr
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index db1deed846..2cf73b88e8 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -166,14 +166,14 @@ apply_autostash () {
stash_sha1=$(cat "$state_dir/autostash")
if git stash apply $stash_sha1 2>&1 >/dev/null
then
- echo "$(gettext 'Applied autostash.')"
+ echo "$(gettext 'Applied autostash.')" >&2
else
git stash store -m "autostash" -q $stash_sha1 ||
die "$(eval_gettext "Cannot store \$stash_sha1")"
gettext 'Applying autostash resulted in conflicts.
Your changes are safe in the stash.
You can run "git stash pop" or "git stash drop" at any time.
-'
+' >&2
fi
fi
}