summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2019-07-29 21:01:11 +0000
committerJames Y Knight <jyknight@google.com>2019-07-29 21:01:11 +0000
commit2fd2f41d2a364687b6a3880b0e25cd9a3470b252 (patch)
tree5eb62b523ae2fdd66560b98195f666d371739b54 /llvm/utils/git-svn
parent96b44c77f8fbc0c704c036b82ea173289b93aa72 (diff)
downloadbcm5719-llvm-2fd2f41d2a364687b6a3880b0e25cd9a3470b252.tar.gz
bcm5719-llvm-2fd2f41d2a364687b6a3880b0e25cd9a3470b252.zip
git-llvm: Restore compatibility with git 1.8.3.
llvm-svn: 367259
Diffstat (limited to 'llvm/utils/git-svn')
-rwxr-xr-xllvm/utils/git-svn/git-llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/git-svn/git-llvm b/llvm/utils/git-svn/git-llvm
index 763bcbec9bb..d4c50a5d04b 100755
--- a/llvm/utils/git-svn/git-llvm
+++ b/llvm/utils/git-svn/git-llvm
@@ -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)
OpenPOWER on IntegriCloud