Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82ae723

Browse files
committed
fix(remote): set_url() uses correct argument order
Fixes#562
1 parent15b6bba commit82ae723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def set_url(self, new_url, old_url=None, **kwargs):
468468
scmd='set-url'
469469
kwargs['insert_kwargs_after']=scmd
470470
ifold_url:
471-
self.repo.git.remote(scmd,self.name,old_url,new_url,**kwargs)
471+
self.repo.git.remote(scmd,self.name,new_url,old_url,**kwargs)
472472
else:
473473
self.repo.git.remote(scmd,self.name,new_url,**kwargs)
474474
returnself

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp