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:
3868de7
)
Unbundling-version-from-git
author
qinxialei
<xialeiqin@gmail.com>
Mon, 15 Aug 2022 07:56:34 +0000
(08:56 +0100)
committer
Ricardo Ribalda Delgado
<ricardo@ribalda.com>
Mon, 15 Aug 2022 07:56:34 +0000
(08:56 +0100)
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 fa23266cc162e7b5d52506570139ed3bc253bf78..794b435709e5776c06530a5df48bcbab2eeb3a8e 100755
(executable)
--- a/
build/gen.py
+++ b/
build/gen.py
@@
-218,7
+218,7
@@
def main(argv):
def GenerateLastCommitPosition(host, header):
ROOT_TAG = 'initial-commit'
describe_output = subprocess.check_output(
- ['
git', 'describe', 'HEAD', '--abbrev=12', '--match', ROOT_TAG
],
+ ['
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: