Recently conducted a global code base replacement, changed about 150 documents, need to find the author made a PR confirm, then wrote a tool to do git blame, address here
Finished found a problem, if only to add a function that is not called, you should not find the original author ...... However, to identify a new function, not easy to imagine, based on the need to do diff ast , can be found. In other words, this tool for batch replace function, is rather easy to use, other changes are less suitable, egg pain ......