From e566b89a5f13f36fad2e2bb37faf9079e06e051e Mon Sep 17 00:00:00 2001 From: Shawn Siefkas Date: Mon, 1 Apr 2013 16:31:33 -0500 Subject: [PATCH] Shortening the git commit used in the version command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8bd6b72e0..2eacedf61 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ ifeq ($(VERBOSE), 1) GO_OPTIONS += -v endif -BUILD_OPTIONS = -ldflags "-X main.GIT_COMMIT `git rev-parse HEAD`" +BUILD_OPTIONS = -ldflags "-X main.GIT_COMMIT `git rev-parse --short HEAD`" SRC_DIR := $(GOPATH)/src