Actually am try to get a report on merge conflicts. I used ‘git blame’ to see who has changed what line, but i couldn’t find the branch and repository name information.
Is there a way to find the repository name, branch name and author name of a file from ‘git blame’ or from commit ids’ so that whenever a merge conflict occurs i can send an email to the authors who have touched that file/lines to resolve it.
git blameshould only give you the revision and author, but:git branch --contains <commit>is a start.git logresults, trying to find the parent of that commit comming from aref/remotesnamespace).Now if you have a proper
.mailmapat the toplevel of the repository, you will have the right email addresses as well.