projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r600/sfn: Skip move instructions if they are only ssa and without modifiers
[mesa.git]
/
bin
/
git_sha1_gen.py
diff --git
a/bin/git_sha1_gen.py
b/bin/git_sha1_gen.py
old mode 100755
(executable)
new mode 100644
(file)
index
c624066
..
c6fbf49
--- a/
bin/git_sha1_gen.py
+++ b/
bin/git_sha1_gen.py
@@
-1,5
+1,3
@@
-#!/usr/bin/env python
-
"""
Generate the contents of the git_sha1.h file.
The output of this script goes to stdout.
"""
Generate the contents of the git_sha1.h file.
The output of this script goes to stdout.
@@
-47,6
+45,6
@@
args = parser.parse_args()
git_sha1 = os.environ.get('MESA_GIT_SHA1_OVERRIDE', get_git_sha1())[:10]
if git_sha1:
git_sha1 = os.environ.get('MESA_GIT_SHA1_OVERRIDE', get_git_sha1())[:10]
if git_sha1:
- write_if_different('#define MESA_GIT_SHA1 "
git-' + git_sha1 + '
"')
+ write_if_different('#define MESA_GIT_SHA1 "
(git-' + git_sha1 + ')
"')
else:
else:
- write_if_different('')
+ write_if_different('
#define MESA_GIT_SHA1 ""
')