Displaying 1 result from an estimated 1 matches for "d58250".
2019 Mar 02
2
Getting the commit message from Phabricator
...t; | 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 https://reviews.llvm.org/D58250
simply run
get_commit_message.sh D58250
And you get all the relevant information (see below) about the
message,revision,reviewers, subsribers etc.. returned (as if arc was going
to commit it)
(names changed to protect the innocent)
--------------------------------------------------------------...