Fix: extra-version-git.sh redirect stderr to /dev/null
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Mar 2019 15:13:39 +0000 (11:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Mar 2019 15:17:48 +0000 (11:17 -0400)
commit47601d633ba557e0380db505491f1fef7cc7216e
treec6378fc22b84c9f0c912e664379945836053d33a
parent88f4a12338f75c8210e0b710708c4eb335bec679
Fix: extra-version-git.sh redirect stderr to /dev/null

Running make in a git repo that does not contain any tag prints:

fatal: No names found, cannot describe anything.

in the make and make clean outputs.

It's fine to have no tag name available (extra-version-git.sh will
return the value 0), but we should not print an error in the make
output. Redirect this error to /dev/null.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Suggested-by: Michael Jeanson <mjeanson@efficios.com>
extra-version-git.sh
This page took 0.026071 seconds and 4 git commands to generate.