Skip to content

Commit b94a7ec

Browse files
committed
Suppress rev-parse error message when out-of-place build
1 parent c091c18 commit b94a7ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

defs/gmake.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ ifneq ($(DOT_WAIT),)
434434
endif
435435

436436
ifeq ($(HAVE_GIT),yes)
437-
REVISION_LATEST := $(shell $(GIT_IN_SRC) rev-parse HEAD)
437+
REVISION_LATEST := $(shell $(GIT_IN_SRC) rev-parse HEAD 2>/dev/null)
438438
else
439439
REVISION_LATEST := update
440440
endif

0 commit comments

Comments
 (0)