We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e2f17 commit c170d77Copy full SHA for c170d77
git-all
@@ -47,7 +47,7 @@ module GitUpdate
47
48
def GitUpdate.fetch g, working_dir
49
case
50
- when git_svn_repo g
+ when git_svn_repo(g)
51
lines = `git --git-dir='#{@git_dir}' svn fetch 2>&1`.split("\n")
52
lines.reject! do |line|
53
line =~ /^(W: |This may take a while|Checked through|$)/
@@ -81,10 +81,10 @@ module GitUpdate
81
end
82
83
def GitUpdate.push_or_pull g, working_dir, branch
84
- remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo g
+ remote = g.config["branch.#{branch.name}.remote"] || git_svn_repo(g)
85
if remote
86
remote_sha =
87
- if git_svn_repo g
+ if git_svn_repo(g)
88
g.revparse 'trunk' rescue g.revparse 'git-svn'
89
else
90
g.revparse File.join(remote, branch.name)
0 commit comments