[LLVMdev] CBE progress and design
Sameer.Sahasrabuddhe at amd.com
Thu Oct 11 21:11:10 PDT 2012
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of Roel Jordans
> Sent: Thursday, October 11, 2012 7:00 PM
> Not yet, though I have my own local git to keep track of my changes.
> Should I just make that repository public or is there some 'usual way'
> of making a public git? Secondly, is there an easy way for my git to
> keep track with the LLVM trunk or should I try to update when I have
> made the majority of my changes?
I think people just roll their own git clones and generate patches when it is time to commit upstream. There is an "unofficial" mirror on github, you could use that start a fork there. I wouldn't worry too much about the "unofficial" tag in the name, as long as the commit ID matches.
General git advice: For keeping track, "git rebase" or "git pull --rebase" is your friend. Or nightmare. It depends. Generally, its good practice to rebase as often as possible, so that your effort remains incremental. But life becomes very interesting when some drastic change like a rename lands upstream, and every commit in your branch needs manual resolution during the rebase. At times like that, I have found it useful to clump my small incremental changes into larger changes on a new branch and then rebase that new branch instead. That's also a good time to abandon ye olde text editor (temporarily) and grab a GUI tool like p4merge or something.
More information about the llvm-dev