Ottomata has submitted this change and it was merged.

Change subject: Adding --always flag to git describe.
......................................................................


Adding --always flag to git describe.

This avoids 'fatal: No names found, cannot describe anything.' warnings
when there are no git tags.

Change-Id: Id74bc53476e04c07ee3fd64047d611f82723928c
---
M Makefile
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved
  Edenhill: Looks good to me, but someone else must approve



diff --git a/Makefile b/Makefile
index 41642a8..c398e30 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
 # Let packagers override version and default configuration file path
 # through VER and CFPATH env variables.
 ifeq (,${VER})
-VER     := `git describe --abbrev=6 --tags HEAD`
+VER     := `git describe --abbrev=6 --tags HEAD --always`
 endif
 
 ifeq (,${CFPATH})

-- 
To view, visit https://gerrit.wikimedia.org/r/97545
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id74bc53476e04c07ee3fd64047d611f82723928c
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/varnish/varnishkafka
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Edenhill <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to