mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
git-llvm: Restore compatibility with git 1.8.3.
llvm-svn: 367259
This commit is contained in:
parent
a301a2d9c0
commit
12e32086fe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user