Linus Torvalds wrote:That all sounds fine. Please just check the format for the "[GIT PULL]" message: Andrew pulls peoples trees on his own and largely automatically, so he doesn't much care _what_ is in the tree, but I care deeply. So I want the diffstat and shortlog listings, and preferably a few sentences at the top of the email describing what's going on and why things are happening.
I'm still learning the more fancy parts of git, but I think that would be:
git diff master..for-linus | diffstat
git log master..for-list | git shortlog
So there's simply no point in merging from me, unless you know that there are clashes due to other development, and you actually want to fix them up. You will just cause unnecessary criss-cross merges if you pull from my tree after you've started development, and the history gets really really messy.
And in order to test for conflicts, I assume I should have a "test tree" that I merge all my local stuff in, together with your current HEAD?
If you actually want your development tree to "track" my tree, I'd suggest you have your "for-linus" branch that you put the work you want to track into, and then a plain "linus" branch which tracks _my_ tree. Then you can just fetch my tree (to keep your "linus" branch up-to-date), and if you want your development branch to track those changes, you can just do a "git rebase linus" in your "for-linus" branch.
If I've understood git correctly, a rebase is a big no-no once I've published those changes as it reverts some history. Right?