aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-26 18:56:50 -0700
committerDrew DeVault <sir@cmpwn.com>2019-04-27 13:54:08 -0400
commit0cfa937df53caa5d1cd9318829649bc5ef247deb (patch)
tree9217bab3e4da833cdd4ca8a14c7835452e143a74
parentea122bd92787b57bdf33b081858a61133df97980 (diff)
downloadsr.ht-docs-0cfa937df53caa5d1cd9318829649bc5ef247deb.tar.gz
git.sr.ht post-update hook can have null 'new' commit
-rw-r--r--git.sr.ht/api.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/git.sr.ht/api.md b/git.sr.ht/api.md
index 35a37c8..a8af516 100644
--- a/git.sr.ht/api.md
+++ b/git.sr.ht/api.md
@@ -379,7 +379,8 @@ executing `git push`. Your server has 5 seconds to respond to the HTTP request.
refs
},
"new": {
- commit resource this ref now refers to
+ commit resource this ref now refers to, or null in the case of deleted
+ refs
}
}
]