mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
Julien Nicoulaud: 40586: discard stderr
This commit is contained in:
parent
79005f1b79
commit
1b0541c52f
2 changed files with 6 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ if (( querystaged || queryunstaged )) && \
|
|||
[[ "$(${vcs_comm[cmd]} rev-parse --is-inside-work-tree 2> /dev/null)" == 'true' ]] ; then
|
||||
# Default: off - these are potentially expensive on big repositories
|
||||
if (( queryunstaged )) ; then
|
||||
${vcs_comm[cmd]} diff --no-ext-diff --ignore-submodules=dirty --quiet --exit-code ||
|
||||
${vcs_comm[cmd]} diff --no-ext-diff --ignore-submodules=dirty --quiet --exit-code 2> /dev/null ||
|
||||
gitunstaged=1
|
||||
fi
|
||||
if (( querystaged )) ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue