[llvm] 6fd9726 - Tweak commit message for auto update of gn build script

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 13:00:12 PST 2019


Author: Mehdi Amini
Date: 2019-12-18T15:57:24-05:00
New Revision: 6fd972624cca2c2de9ff20380bfd35554b1fde6b

URL: https://github.com/llvm/llvm-project/commit/6fd972624cca2c2de9ff20380bfd35554b1fde6b
DIFF: https://github.com/llvm/llvm-project/commit/6fd972624cca2c2de9ff20380bfd35554b1fde6b.diff

LOG: Tweak commit message for auto update of gn build script

Use `[tag]` as a prefix and "port" instead of "merge" to
avoid confusing with "git merge".

Added: 
    

Modified: 
    llvm/utils/gn/build/sync_source_lists_from_cmake.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/build/sync_source_lists_from_cmake.py b/llvm/utils/gn/build/sync_source_lists_from_cmake.py
index 16b0f972cc60..a16c687612c4 100755
--- a/llvm/utils/gn/build/sync_source_lists_from_cmake.py
+++ b/llvm/utils/gn/build/sync_source_lists_from_cmake.py
@@ -114,7 +114,7 @@ def by_rev(files, key):
                     print('   remove:\n    ' + '\n    '.join(remove))
                 print()
         if write:
-            git(['commit', '-m', 'gn build: Merge %s' % rev])
+            git(['commit', '-m', '[gn build] Port %s' % rev])
         else:
             print()
 


        


More information about the llvm-commits mailing list