aboutsummaryrefslogtreecommitdiff
path: root/tools/patchbot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patchbot')
-rwxr-xr-xtools/patchbot/bin/git-submit3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patchbot/bin/git-submit b/tools/patchbot/bin/git-submit
index 70c2efc..6f14d58 100755
--- a/tools/patchbot/bin/git-submit
+++ b/tools/patchbot/bin/git-submit
@@ -33,9 +33,10 @@ doreq() {
"$curl" -sLXPOST -H"Authorization: Bearer $token" \
-H"Content-Type: application/mbox" \
-H"User-Agent: patchbot-client v3" \
- --data-binary @"$gitdir/PatchBot.req.tmp" - \
+ --data-binary @"$gitdir/PatchBot.req.tmp" \
--url-query "projectid=$projectid" \
--url-query "description=$description" \
+ -w"%{response_code}" \
-o "$gitdir/PatchBot.resp.tmp" \
"$server/submit" >&2
}