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:16:49 +0000 (11:16 -0400)
commit5de92b5d3492974bccc87ed0ea59440a82328d69
treeebce562aac9277872f94693f55fd6ad6fa49aa17
parent9153ad231edfa178b83bb4c81891b7b812158b08
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>
scripts/extra-version-git.sh
This page took 0.027983 seconds and 4 git commands to generate.