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:
62bc785
)
Unbundling-version-from-git
author
qinxialei
<xialeiqin@gmail.com>
Mon, 21 Mar 2022 06:51:44 +0000
(06:51 +0000)
committer
Ricardo Ribalda Delgado
<ricardo@ribalda.com>
Mon, 21 Mar 2022 06:51:44 +0000
(06:51 +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 5fd57833c3e6096adac392394280afda774a2cc6..5f7809a39c23c9e3b2b78b79845425ff09af2935 100755
(executable)
--- a/
build/gen.py
+++ b/
build/gen.py
@@
-215,7
+215,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: