From 5c31b3a52a7d9970b76c37a5704ea7ef55ec10dc Mon Sep 17 00:00:00 2001 From: John Gibb Date: Tue, 29 Mar 2011 16:52:11 -0700 Subject: [PATCH] this should have default of nil, so that it becomes the current git branch --- Support/lib/git_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Support/lib/git_manager.rb b/Support/lib/git_manager.rb index 5f9c172..6ae3d2d 100644 --- a/Support/lib/git_manager.rb +++ b/Support/lib/git_manager.rb @@ -54,7 +54,7 @@ def github_url_for_project(github_remote=nil) end end - def file_to_github_url(github_remote, branch='master', file=nil) + def file_to_github_url(github_remote, branch=nil, file=nil) file ||= target_file branch ||= @git.current_branch repo = repo_for_remote(github_remote)