Our commit messages are formatted like this:
PROJECT_NAME-ISSUE_NUM commit msg.
Question: How can I search for files that were changed by developer working on specific issue?
Note that I need only file names. For the purpose of this question, I don't care for commit messages, diff or anything else. Filenames. Once.
Shell script is ok.
Things that got me the closest:
git log --name-status --one-line --grep ISSUE_NUM
I get commit messages I don't care about and same file is included multiple times, if it was changed in multiple commits.git diff origin/master...HEAD --name-status --grep ISSUE_NUM
Seems to include all files that differ between origin/master and current branch, not only the ones that were changed by developer working on that specific issue.