Revision d25a6703c9ce6e513113fea8c63078f4fcaaee2a authored by Marco Munizaga on 05 January 2023, 22:12:43 UTC, committed by Marco Munizaga on 05 January 2023, 22:12:43 UTC
1 parent 73e6ade
Raw File
git.mk
# First try to "describe" the state. This tells us if the state is dirty.
# If that fails (e.g., we're building a docker image and have an empty objects
# directory), assume the source isn't dirty and build anyways.
git-hash:=$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null || git rev-parse --short HEAD 2>/dev/null)
back to top