From 260365a19646738e23bc3aef74240b015c3bee79 Mon Sep 17 00:00:00 2001 From: Alexey Kardashevskiy Date: Tue, 26 May 2020 12:07:17 +1000 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a8c80ee2a..ac0e90e4f 100644 --- a/Makefile +++ b/Makefile @@ -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. -- cgit mrf-deployment