summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:29:27 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:29:27 +0100
commita70b16481c548fe31e18ee2f0724b5810c8b1b5c (patch)
tree54496500d2a1735e639c9e1edf87564ff67be166 /lib
parent80cfdf19f3675f021aa0379af649f80abfeb555b (diff)
downloadgitano-a70b16481c548fe31e18ee2f0724b5810c8b1b5c.tar.gz
GITANO: Move the force_empty_tree() call from always, to update-hook and only if needed
Diffstat (limited to 'lib')
-rw-r--r--lib/gitano/repository.lua4
1 files changed, 0 insertions, 4 deletions
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