diff --git a/Makefile b/Makefile index 46c822012e..dd2bf5ca37 100644 --- a/Makefile +++ b/Makefile @@ -139,7 +139,7 @@ endif REVISION := norevision ifeq ($(shell git diff --shortstat),) -REVISION := $(shell git log -1 --format="%h") +REVISION := $(shell git log -1 --format="%h" | head -c 7) endif LD_FLAGS :=