Displaying 1 result from an estimated 1 matches for "getcommitmessag".
Did you mean:
getcommitmessage
2019 Mar 02
2
Getting the commit message from Phabricator
...r https://reviews.llvm.org
----------------------------
get_commit_message.sh
----------------------------
echo '{ "revision_id": '${1:1}' }' | arc call-conduit --conduit-uri
https://reviews.llvm.org/ --conduit-token
<replace_with_phabricator_api_token> differential.getcommitmessage | jq
".response" | sed 's/^.\(.*\).$/\1/' - | sed 's/\\n/\
/g' -
----------------------------
This simply pulls the commit message as json and then replaces \n with
newlines (there are probably better ways of doing this, I'm not a jq
expert!)
Given an example review...