ledger: correct the CHECK PASS message to name the pinned revision
This commit is contained in:
1 parent
cc87f46e23
commit
daf2403ffa
1 file changed
+3
-5
@@ -136,12 +136,10 @@ def main():
|
||||
for f in failures:
|
||||
print(" -", f)
|
||||
return 1
|
||||
head = git("rev-parse", "--short=7", "HEAD").strip()
|
||||
print(
|
||||
"CHECK PASS | re-derived {0} commits from git HEAD {1}; commits.tsv/json/detail.tsv/md "
|
||||
"byte-identical to git-derived bytes; Files column = true changed-path count".format(
|
||||
len(rows), head
|
||||
)
|
||||
"CHECK PASS | re-derived %d commits from pinned revision %s (git log -n 20 %s); commits.tsv/json/detail.tsv/md "
|
||||
"byte-identical to git-derived bytes; Files column = true changed-path count"
|
||||
% (len(rows), PINNED_REV, PINNED_REV)
|
||||
)
|
||||
return 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user