]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
print last change
authorMartin Taibr <taibr.martin@gmail.com>
Sat, 23 Sep 2017 00:17:21 +0000 (02:17 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Sat, 23 Sep 2017 00:17:21 +0000 (02:17 +0200)
qcsrc/tools/uncrustify-unmodified.py

index a346d46cbd17b7e49a515e4d74aa505205de9be5..83b5d0987db6e320422b7b28227c5f8f106a5afc 100755 (executable)
@@ -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.