tools/tree-diff: make its output stable
I don't see a reason why not to make the default output from tree-diff always stable. The stage tests already do that before running the comparison.
This commit is contained in:
parent
04c545c39c
commit
5045bde6b7
1 changed files with 4 additions and 1 deletions
|
|
@ -188,7 +188,10 @@ def main():
|
|||
os.close(dir_fd2)
|
||||
os.close(dir_fd1)
|
||||
|
||||
print(json.dumps(report, indent=2))
|
||||
report["added_files"].sort()
|
||||
report["deleted_files"].sort()
|
||||
|
||||
print(json.dumps(report, indent=2, sort_keys=True))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue