From 2880b81f1db6ef7f984d94e922bfbcf03c9fadc0 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Sat, 23 Sep 2017 02:17:21 +0200 Subject: [PATCH] print last change --- qcsrc/tools/uncrustify-unmodified.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/tools/uncrustify-unmodified.py b/qcsrc/tools/uncrustify-unmodified.py index a346d46cb..83b5d0987 100755 --- a/qcsrc/tools/uncrustify-unmodified.py +++ b/qcsrc/tools/uncrustify-unmodified.py @@ -34,6 +34,10 @@ def main(): for branch in branches: print(branch) + # getting this info is a bit slow + last_change = run(r'git show --pretty=format:"%ci" {}'.format(branch))[0] + print("\t last change:", last_change) + # If some complex branching and merging happens, there can be multiple merge bases. # The diff between each of them and the tip of the branch can contain changes that are not in master # and could cause conflicts. -- 2.39.2