mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Shortening the git commit used in the version command
This commit is contained in:
parent
37a78902db
commit
e566b89a5f
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue