Browse files

Added back some missing parens

  • Loading branch information...
1 parent b6e2f17 commit c170d77c51abab131b3e5a15e4be2ba640af8f38 @jwiegley committed Apr 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 git-all
View
6 git-all
@@ -47,7 +47,7 @@ module GitUpdate
def GitUpdate.fetch g, working_dir
case
- when git_svn_repo g
+ when git_svn_repo(g)
lines = `git --git-dir='#{@git_dir}' svn fetch 2>&1`.split("\n")
lines.reject! do |line|
line =~ /^(W: |This may take a while|Checked through|$)/
@@ -81,10 +81,10 @@ module GitUpdate
end
def GitUpdate.push_or_pull g, working_dir, branch
- remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo g
+ remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo(g)
if remote
remote_sha =
- if git_svn_repo g
+ if git_svn_repo(g)
g.revparse 'trunk' rescue g.revparse 'git-svn'
else
g.revparse File.join(remote, branch.name)

0 comments on commit c170d77

Please sign in to comment.