I want to get the list of modified files in a pull request and group them by their commits sha. I have only found the git diff --name-status but it doesn't return the commit sha:
I have a backup plan to use git format-patch -1 , but the results are large files that includes the content of the files, which makes it very inefficient to parse.
I was wondering if there is another way to approach this problem?
Thanks