stash: prefer --quiet over shell redirection of the standard error stream
commit1956dfa818e376c5d62adc16d77f5b5cacf923f8
authorDavid Aguilar <davvid@gmail.com>
Tue, 16 Sep 2014 03:24:10 +0000 (15 20:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2014 17:51:59 +0000 (19 10:51 -0700)
treea46551c79643352b95816309b4a3fbaf1479b77a
parentc41a87dd80cd32cfd6e2d670153a9b69dc627f71
stash: prefer --quiet over shell redirection of the standard error stream

Use `git rev-parse --verify --quiet` instead of redirecting
stderr to /dev/null.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh