login
Header Space

 
 

Re: Updated Kernel Hacker's guide to git

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jay Cliburn <jacliburn@...>
Cc: <git@...>
Date: Thursday, December 21, 2006 - 7:53 am

Jay Cliburn wrote:

You inflict upon yourself all sorts of pain if you keep updating 
'master', but don't merge that into 'driver'.  Typically you want to 
rebase after updating master:

	git checkout driver
	git rebase master
	# build and test
	git prune

or merge master into your current branch:

	git checkout driver
	git pull . master
	# build and test

That way, you are GUARANTEED that

	git diff master..driver

will result in a diff that you can send upstream.

One moral of this story, as (I think) Linus mentioned, don't update 
'master' too frequently.  That's one key lesson of distributed 
programming.  Unless the upstream kernel has a key API change or bug fix 
you need, just pretend the outside world does not exist, and hack away 
on your driver.

	Jeff


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Updated Kernel Hacker's guide to git, Jeff Garzik, (Wed Dec 20, 11:04 pm)
Re: Updated Kernel Hacker's guide to git , Horst H. von Brand, (Sun Dec 24, 2:07 pm)
Re: Updated Kernel Hacker's guide to git, Jesper Juhl, (Fri Dec 22, 4:50 am)
Re: Updated Kernel Hacker's guide to git, Guennadi Liakhovetski, (Thu Dec 21, 4:40 pm)
Re: Updated Kernel Hacker's guide to git, Jeff Garzik, (Thu Dec 21, 4:46 pm)
Re: Updated Kernel Hacker's guide to git, Francois Romieu, (Thu Dec 21, 9:53 am)
Re: Updated Kernel Hacker's guide to git, Jay Cliburn, (Wed Dec 20, 11:21 pm)
Re: Updated Kernel Hacker's guide to git, Jeff Garzik, (Thu Dec 21, 7:53 am)
Re: Updated Kernel Hacker's guide to git, Linus Torvalds, (Thu Dec 21, 3:51 am)
Re: Updated Kernel Hacker's guide to git, Martin Langhoff, (Thu Dec 21, 3:04 am)
Re: Updated Kernel Hacker's guide to git, Junio C Hamano, (Thu Dec 21, 3:32 am)
Re: Updated Kernel Hacker's guide to git, Nigel Cunningham, (Thu Dec 21, 1:53 am)
Re: Updated Kernel Hacker's guide to git, Jeff Garzik, (Thu Dec 21, 7:44 am)
Re: Updated Kernel Hacker's guide to git, Nigel Cunningham, (Thu Dec 21, 5:17 pm)
Re: Updated Kernel Hacker's guide to git, Willy Tarreau, (Thu Dec 21, 1:44 am)
speck-geostationary