Skip to content

Commit c170d77

Browse files
committed
Added back some missing parens
1 parent b6e2f17 commit c170d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-all

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module GitUpdate
4747

4848
def GitUpdate.fetch g, working_dir
4949
case
50-
when git_svn_repo g
50+
when git_svn_repo(g)
5151
lines = `git --git-dir='#{@git_dir}' svn fetch 2>&1`.split("\n")
5252
lines.reject! do |line|
5353
line =~ /^(W: |This may take a while|Checked through|$)/
@@ -81,10 +81,10 @@ module GitUpdate
8181
end
8282

8383
def GitUpdate.push_or_pull g, working_dir, branch
84-
remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo g
84+
remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo(g)
8585
if remote
8686
remote_sha =
87-
if git_svn_repo g
87+
if git_svn_repo(g)
8888
g.revparse 'trunk' rescue g.revparse 'git-svn'
8989
else
9090
g.revparse File.join(remote, branch.name)

0 commit comments

Comments
 (0)