[llvm-dev] How to deal with multiple patches to the same file

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 10 06:30:12 PDT 2020

I have submitted a patch to Phabricator that includes the TableGen file TGparser.cpp. Now I want to fix a bug in that file. What is the proper procedure so that the two patches don't get screwed up, either in my repository or in the master repository? Please answer as if I'm a git/Phabricator idiot, because, well, I am.

I should note that all I did in my repository for the first patch was stage the files and then do a diff --staged. Those files remain staged because I'm not sure what to do with them given that we use Phabricator and not pull requests.

More information about the llvm-dev mailing list