From 7675d58fb2b4c6f19343dab7a724ce84ce51b233 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 27 Dec 2019 04:58:56 -0600 Subject: [PATCH] avoid `--exclude` with `git-describe` The `--exclude` flag is not supported by older-but-still-used version of Git. original commit: a5a594f7c3f71d17d2e55ed50463b92515de02dc --- s/update-revision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s/update-revision b/s/update-revision index 8f1250f5dc..6aeef2f8ab 100755 --- a/s/update-revision +++ b/s/update-revision @@ -1,6 +1,6 @@ #!/bin/sh if [ -d ../../.git ]; then - git describe --always --exclude='*' --abbrev=40 --dirty + git describe --always --match='' --abbrev=40 --dirty echo 'git' elif [ -d ../../.hg ]; then DIRTY="$(hg status -n --color never --pager never | head -1)"