diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-05-04 14:14:23 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-05-04 14:14:23 +0100 |
commit | ff6f5cfebc1bf94472da62ca721a0a2b865d1034 (patch) | |
tree | f54199deef2b543d64372b2534d1b9a04b2cf7d5 /bin | |
parent | 12db146d98bdf0cecf9935308a0753a290fc13f8 (diff) | |
download | gitano-ff6f5cfebc1bf94472da62ca721a0a2b865d1034.tar.gz |
BIN: Fix tree acquisition in gitano-update-hook again
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gitano-update-hook | 4 |
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 |