projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b44c7
)
git-llvm: Restore compatibility with git 1.8.3.
author
James Y Knight
<jyknight@google.com>
Mon, 29 Jul 2019 21:01:11 +0000
(21:01 +0000)
committer
James Y Knight
<jyknight@google.com>
Mon, 29 Jul 2019 21:01:11 +0000
(21:01 +0000)
llvm-svn: 367259
llvm/utils/git-svn/git-llvm
patch
|
blob
|
history
diff --git
a/llvm/utils/git-svn/git-llvm
b/llvm/utils/git-svn/git-llvm
index
763bcbe
..
d4c50a5
100755
(executable)
--- 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)