[llvm] r367259 - git-llvm: Restore compatibility with git 1.8.3.
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 14:01:11 PDT 2019
Author: jyknight
Date: Mon Jul 29 14:01:11 2019
New Revision: 367259
URL: http://llvm.org/viewvc/llvm-project?rev=367259&view=rev
Log:
git-llvm: Restore compatibility with git 1.8.3.
Modified:
llvm/trunk/utils/git-svn/git-llvm
Modified: llvm/trunk/utils/git-svn/git-llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/git-svn/git-llvm?rev=367259&r1=367258&r2=367259&view=diff
==============================================================================
--- llvm/trunk/utils/git-svn/git-llvm (original)
+++ llvm/trunk/utils/git-svn/git-llvm Mon Jul 29 14:01:11 2019
@@ -397,7 +397,7 @@ def cmd_push(args):
os.chdir(git_root)
# Get the remote URL, and check if it's one of the standalone repos.
- git_remote_url = git('remote', 'get-url', 'origin')
+ git_remote_url = git('ls-remote', '--get-url', 'origin')
git_remote_url = git_remote_url.rstrip('.git').rstrip('/')
git_remote_repo_name = git_remote_url.rsplit('/', 1)[-1]
split_repo_path = SPLIT_REPO_NAMES.get(git_remote_repo_name)
More information about the llvm-commits
mailing list