lib/gitlab_git/repository.rb in gitlab_git-2.2.0 vs lib/gitlab_git/repository.rb in gitlab_git-2.3.0
- old
+ new
@@ -27,11 +27,11 @@
# compatibility
alias_method :repo, :raw
def initialize(path_with_namespace, root_ref)
- @root_ref = root_ref || raw.head.name
@path_with_namespace = path_with_namespace
+ @root_ref = root_ref || raw.head.name
# Init grit repo object
raw
end