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:
d90e958
)
Unbundling-version-from-git
author
qinxialei
<xialeiqin@gmail.com>
Sat, 19 Mar 2022 18:29:19 +0000
(18:29 +0000)
committer
Peter Michael Green
<plugwash@raspbian.org>
Sat, 19 Mar 2022 18:29:19 +0000
(18:29 +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 ae9c40de8aa9d720d6c1aa332a532798859301e2..650e1e75a65f5e68b7e496544da9a5223701ad4c 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: