Added projects. Part 7
This commit is contained in:
@@ -188,9 +188,7 @@ class GitRepo
|
||||
f.flock(File::LOCK_SH)
|
||||
git_path = File.join(@path, repo_name + ".git")
|
||||
bare_repo = Rugged::Repository.new(git_path)
|
||||
pp bare_repo.head
|
||||
pp repo.head
|
||||
res = (bare_repo.head.oid == repo.head.oid)
|
||||
res = (bare_repo.head.target.tree.oid == repo.head.target.tree.oid)
|
||||
end
|
||||
res
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user