summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-09-24 11:19:43 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-09-24 11:19:43 +0100
commit8cd5b8c5cfd02cd6d0911a0336af91d367e447fa (patch)
tree4fde3b7968a91006f720b981bae5e891d4e5141d /bin
parentf1bafe736175a1636bcdb6c03d6821abb44e7597 (diff)
downloadgitano-8cd5b8c5cfd02cd6d0911a0336af91d367e447fa.tar.gz
LACE: Provide new/old object data (incl. type and sign state) to lace
Diffstat (limited to 'bin')
-rw-r--r--bin/gitano-update-hook.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/gitano-update-hook.in b/bin/gitano-update-hook.in
index 102fa36..846dd7e 100644
--- a/bin/gitano-update-hook.in
+++ b/bin/gitano-update-hook.in
@@ -268,6 +268,9 @@ local function populate(sha, pfx)
context[pfx.."taggedsha"] = obj.sha
end
end
+ if obj.content and obj.content.signature and obj.content.signature ~= "" then
+ context[pfx.."signed"] = "yes"
+ end
end
end
end