aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-02-21 10:54:59 -0500
committerDrew DeVault <sir@cmpwn.com>2020-02-21 10:54:59 -0500
commitad9f46aedf266e105ce3812c8764d1ea0de2f73f (patch)
tree6962d0ac028a0112a75955995dcea12c3666faf7 /git.sr.ht
parent47152411277bdc091f9163685b16c547e0543324 (diff)
downloadsr.ht-docs-ad9f46aedf266e105ce3812c8764d1ea0de2f73f.tar.gz
git.sr.ht: update route for annotations upload
Diffstat (limited to 'git.sr.ht')
-rw-r--r--git.sr.ht/annotations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.sr.ht/annotations.md b/git.sr.ht/annotations.md
index 1ecac85..dfd857a 100644
--- a/git.sr.ht/annotations.md
+++ b/git.sr.ht/annotations.md
@@ -34,7 +34,7 @@ curl -X PUT \
-H "Authorization: token $oauth_token" \
-H "Content-Type: application/json" \
-d @"$1" \
- https://git.sr.ht/api/"~$2"/repos/"$3"/annotate
+ https://git.sr.ht/api/"~$2"/repos/"$3"/$(git rev-parse HEAD)/annotate
```
Set the path to `~/upload-annotations` and the file mode to 755, then add the