summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-04-02 23:29:15 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-04-02 23:33:37 +0900
commit20230402d087858ca9a93aa8fe53d289f29c1836 (patch)
tree3944ce11ddeae075fe8d21d33f62045bcdf6fd4c /Makefile
parent5c2c3a6c8801883e6b72e7b873522ffd34b26221 (diff)
downloadfzf-20230402d087858ca9a93aa8fe53d289f29c1836.tar.gz
0.39.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6248ad17..fe552209 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ VERSION_REGEX := $(subst .,\.,$(VERSION_TRIM))
ifdef FZF_REVISION
REVISION := $(FZF_REVISION)
else
-REVISION := $(shell git log -n 1 --pretty=format:%h -- $(SOURCES) 2> /dev/null)
+REVISION := $(shell git log -n 1 --pretty=format:%h --abbrev=8 -- $(SOURCES) 2> /dev/null)
endif
ifeq ($(REVISION),)
$(error Not on git repository; cannot determine $$FZF_REVISION)