projects
/
generate-ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc5d52
)
Unbundling-version-from-git
author
qinxialei
<xialeiqin@gmail.com>
Thu, 28 Jan 2021 19:35:22 +0000
(19:35 +0000)
committer
Ricardo Ribalda Delgado
<ricardo@ribalda.com>
Thu, 28 Jan 2021 19:35:22 +0000
(19:35 +0000)
Unbundling version from git
Gbp-Pq: Name Unbundling-version-from-git.patch
build/gen.py
patch
|
blob
|
history
diff --git
a/build/gen.py
b/build/gen.py
index 922bf46fa5788ac751f9d5ceaf57b94b1f24eeaf..ab8b4115a2c6491b597cf8427566405b175d4f88 100755
(executable)
--- a/
build/gen.py
+++ b/
build/gen.py
@@
-153,7
+153,7
@@
def main(argv):
def GenerateLastCommitPosition(host, header):
ROOT_TAG = 'initial-commit'
describe_output = subprocess.check_output(
- ['
git', 'describe', 'HEAD', '--match', ROOT_TAG
], shell=host.is_windows(),
+ ['
debian/gn-describe'
], shell=host.is_windows(),
cwd=REPO_ROOT)
mo = re.match(ROOT_TAG + '-(\d+)-g([0-9a-f]+)', describe_output.decode())
if not mo: