From 6ff5943109eb631540bd6e9014d88196c839bca6 Mon Sep 17 00:00:00 2001
From: Brecht Van Lommel <brecht@blender.org>
Date: Thu, 16 Jul 2020 12:47:28 +0200
Subject: [PATCH] Fix git tag warning when running make update after recent
 changes

---
 build_files/utils/make_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build_files/utils/make_utils.py b/build_files/utils/make_utils.py
index 9a3d25f4952..e94c8e3550a 100755
--- a/build_files/utils/make_utils.py
+++ b/build_files/utils/make_utils.py
@@ -48,7 +48,7 @@ def git_branch(git_command):
 def git_tag(git_command):
     # Get current tag name.
     try:
-        tag = subprocess.check_output([git_command, "describe", "--exact-match"])
+        tag = subprocess.check_output([git_command, "describe", "--exact-match"], stderr=subprocess.STDOUT)
     except subprocess.CalledProcessError as e:
         return None
 
-- 
GitLab