Skip to content

Commit 4566400

Browse files
authored
makecorever.py: Hide GIT error messages. Fixes #7744 (#7745)
* makecorever.py: Hide GIT error messages. Fixes #7744
1 parent eaaa1db commit 4566400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/makecorever.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def generate(path, platform_path, git_ver="ffffffff", git_desc="unspecified"):
2626
def git(*args):
2727
cmd = ["git", "-C", platform_path]
2828
cmd.extend(args)
29-
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True)
29+
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True, stderr=subprocess.DEVNULL)
3030
return proc.stdout.readlines()[0].strip()
3131

3232
try:

0 commit comments

Comments
 (0)