lib/gitolite/grit/adapter.rb in dtk-common-0.5.12 vs lib/gitolite/grit/adapter.rb in dtk-common-0.5.13

- old
+ new

@@ -4,10 +4,10 @@ module Git class Adapter DEFAULT_BRANCH = 'master' - def initialize(repo_dir,branch='master') + def initialize(repo_dir,branch=DEFAULT_BRANCH) @repo_dir = repo_dir @branch = branch @grit_repo = nil begin @grit_repo = ::Grit::Repo.new(repo_dir)