diff options
| author | Alexey Kardashevskiy <aik@linux.ibm.com> | 2020-05-26 12:07:17 +1000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-10-26 10:19:14 +0100 |
| commit | 260365a19646738e23bc3aef74240b015c3bee79 (patch) | |
| tree | aaffe1f4d7479c570a20ec3eeeffbd06c6460ab5 /Makefile | |
| parent | fec51a2362eb35edd596ae6b6117c668b6e8a539 (diff) | |
prog: drop semicolons in 'go build' output to not confuse vim
When running "make" under vim, it treats numbers after semicolons as
line numbers and the existing invocation of "git lot" uses the date format
with semicolons.
This changes the git rev not to use semicolons so it changes from
"Wed, 13 May 2020 21:11:52 +0200" to "20200513-211152".
Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ ifeq ("$(shell git diff --shortstat)", "") else REV=$(GITREV)+ endif -GITREVDATE=$(shell git log -n 1 --format="%cd") +GITREVDATE=$(shell git log -n 1 --format="%cd" --date=format:%Y%m%d-%H%M%S) # Don't generate symbol table and DWARF debug info. # Reduces build time and binary sizes considerably. |
