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:
4dd3e80
)
Unbundling-version-from-git
author
qinxialei
<xialeiqin@gmail.com>
Tue, 15 Aug 2023 12:48:39 +0000
(13:48 +0100)
committer
Ricardo Ribalda Delgado
<ricardo@ribalda.com>
Tue, 15 Aug 2023 12:48:39 +0000
(13:48 +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 adb622a93d8ee73a724195845e6154d0f65b2c0c..66244f15d95c7ac8132d5d0609f7a706f5c277ea 100755
(executable)
--- a/
build/gen.py
+++ b/
build/gen.py
@@
-227,7
+227,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: