[llvm] b96e30c - git-llvm: Push to master branch by default

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 00:01:12 PDT 2019


Author: Tom Stellard
Date: 2019-10-24T23:56:00-07:00
New Revision: b96e30c21726e94ad89b2796bcb8a4d93c38183b

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

LOG: git-llvm: Push to master branch by default

This allows pushing without specifying a branch, which is what the
documentations says to do.

Added: 
    

Modified: 
    llvm/utils/git-svn/git-llvm

Removed: 
    


################################################################################
diff  --git a/llvm/utils/git-svn/git-llvm b/llvm/utils/git-svn/git-llvm
index 7490d4eaf2a2..7a4d8c2d178a 100755
--- a/llvm/utils/git-svn/git-llvm
+++ b/llvm/utils/git-svn/git-llvm
@@ -307,6 +307,7 @@ if __name__ == '__main__':
         'branch',
         metavar='GIT_BRANCH',
         type=str,
+        default='master',
         nargs='?',
         help="branch to push (default: everything not in the branch's "
         'upstream)')


        


More information about the llvm-commits mailing list