Skip to content

Commit b961bad

Browse files
committed
git-all: Fixed ordering in a conditional
1 parent 675c5c5 commit b961bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module GitUpdate
7979
end
8080

8181
def GitUpdate.push_or_pull g, working_dir, branch
82-
remote = git_svn_repo(g) or g.config["branch.#{branch.name}.remote"]
82+
remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo(g)
8383
if remote
8484
remote_sha =
8585
if git_svn_repo g

0 commit comments

Comments
 (0)