Not being "pull request" something standard from git it is widely used as a good practice and it is used by default but .... I have an utility that generates documentation based on the fact all the changes that are deployed "come" from a pull request and I am wondering if there is an easy way to detect situations where that's not the case, where commits have been committed directly to "master"
For example in a diagram like that:
* c1 (pull request)
|\
| * c2
| * c3
*/
|
* c4
|
I would like to be able to detect c4.
Thanks!