send stderr from 'which' to /dev/null
This commit is contained in:
parent
3f427971fd
commit
f284342632
@ -110,9 +110,9 @@ function svndiff()
|
|||||||
function svn()
|
function svn()
|
||||||
{
|
{
|
||||||
subcommand="$1"
|
subcommand="$1"
|
||||||
realsvn=$(which svn)
|
realsvn=$(which svn 2>/dev/null)
|
||||||
colorsvn=$(which colorsvn)
|
colorsvn=$(which colorsvn 2>/dev/null)
|
||||||
colordiff=$(which colordiff)
|
colordiff=$(which colordiff 2>/dev/null)
|
||||||
if [[ "$realsvn" == "" ]]; then
|
if [[ "$realsvn" == "" ]]; then
|
||||||
echo "Subversion not found in \$PATH"
|
echo "Subversion not found in \$PATH"
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user