1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-09 19:51:26 +01:00

Julien Nicoulaud: 40586: discard stderr

This commit is contained in:
Barton E. Schaefer 2017-02-21 20:45:18 -08:00
parent 79005f1b79
commit 1b0541c52f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2017-02-21 Barton E. Schaefer <schaefer@zsh.org>
* Julien Nicoulaud: 40586:
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: discard stderr
2017-02-20 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/ztst.zsh: use "diff -a" in case special characters

View file

@ -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