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:44 +0000 (11:17 -0400)
commit80f8783b611cc11e5cad9ad40173b4ee3538ca1c
treed50f8bd4fd3f4baf83e4dde90d0898670d7a2bd8
parent7dc3141177fff50aff4c0f7d90f36436398361b4
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.025481 seconds and 4 git commands to generate.