summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-11-27 11:06:33 +0900
committerJunio C Hamano <gitster@pobox.com>2017-11-27 11:06:33 +0900
commitdec01eee45f4275f1b9115947452cbd0964a661a (patch)
tree89eb4a636b5d95946fc1ff302f5d64627bbfeec2 /git-rebase.sh
parentf3f671b9283abc960d59c30c529aea94530cf2ec (diff)
parenteadf1c8f454aff0b77202815af7b250320a5f5bf (diff)
downloadgit-dec01eee45f4275f1b9115947452cbd0964a661a.tar.gz
Merge branch 'tz/redirect-fix'
A few scripts (both in production and tests) incorrectly redirected their error output. These have been corrected. * tz/redirect-fix: rebase: fix stderr redirect in apply_autostash() t/lib-gpg: fix gpgconf stderr redirect to /dev/null
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 6344e8d5e3..aabbf6b69e 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -166,7 +166,7 @@ apply_autostash () {
if test -f "$state_dir/autostash"
then
stash_sha1=$(cat "$state_dir/autostash")
- if git stash apply $stash_sha1 2>&1 >/dev/null
+ if git stash apply $stash_sha1 >/dev/null 2>&1
then
echo "$(gettext 'Applied autostash.')" >&2
else