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:41 +0000 (11:17 -0400)
commit5716babbec6eadfa12ad728c5ed7b3e07c664375
tree06fdd0f2db1f6b80abc60be3e4d7a68547d8cdcd
parent50fed592d596bfb1acb34a04b89dc055d5a104e5
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.025267 seconds and 4 git commands to generate.