diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-10-13 11:36:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-13 11:36:36 -0700 |
commit | 69ae92bda13dfbf0b7d169c57b9f2715af2a9d67 (patch) | |
tree | 660bdace0e4f761033c60cf230bb49ff00fc5eea /git-stash.sh | |
parent | bc979945305b87caf1e5975d30d42bafd88ad846 (diff) | |
download | git-69ae92bda13dfbf0b7d169c57b9f2715af2a9d67.tar.gz |
shell portability: no "export VAR=VAL"
It is more portable to say "VAR=VAL && export VAR" instead.
Noticed by Ævar.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-x | git-stash.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-stash.sh b/git-stash.sh index 5fb1245ea7..7561b374d2 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -373,7 +373,7 @@ apply_stash () { if test -n "$GIT_QUIET" then - export GIT_MERGE_VERBOSITY=0 + GIT_MERGE_VERBOSITY=0 && export GIT_MERGE_VERBOSITY fi if git merge-recursive $b_tree -- $c_tree $w_tree then |