summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-05-04 14:14:23 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-05-04 14:14:23 +0100
commitff6f5cfebc1bf94472da62ca721a0a2b865d1034 (patch)
treef54199deef2b543d64372b2534d1b9a04b2cf7d5 /bin
parent12db146d98bdf0cecf9935308a0753a290fc13f8 (diff)
downloadgitano-ff6f5cfebc1bf94472da62ca721a0a2b865d1034.tar.gz
BIN: Fix tree acquisition in gitano-update-hook again
Diffstat (limited to 'bin')
-rw-r--r--bin/gitano-update-hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gitano-update-hook b/bin/gitano-update-hook
index f314bba..33ecbfe 100644
--- a/bin/gitano-update-hook
+++ b/bin/gitano-update-hook
@@ -106,12 +106,12 @@ end
local oldtree, newtree
if oldsha == nullsha then
- oldtree = repo.git:get(gitano.git.tree.empty_sha).content.tree.content
+ oldtree = repo.git:get(gitano.git.tree.empty_sha).content
else
oldtree = repo.git:get(oldsha).content.tree.content
end
if newsha == nullsha then
- newtree = repo.git:get(gitano.git.tree.empty_sha).content.tree.content
+ newtree = repo.git:get(gitano.git.tree.empty_sha).content
else
newtree = repo.git:get(newsha).content.tree.content
end