From a70b16481c548fe31e18ee2f0724b5810c8b1b5c Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 10 Sep 2012 19:29:27 +0100 Subject: GITANO: Move the force_empty_tree() call from always, to update-hook and only if needed --- lib/gitano/repository.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/gitano/repository.lua b/lib/gitano/repository.lua index 9e6460c..f0c05f0 100644 --- a/lib/gitano/repository.lua +++ b/lib/gitano/repository.lua @@ -148,10 +148,6 @@ function repo_method:run_checks() return nil, msg end - -- Finally force the empty tree to exist since Git pre 1.7.4 doesn't - -- support it. - self.git:force_empty_tree() - -- And all is well return true end -- cgit v1.2.1