From: Matthias Urlichs Date: Fri, 17 Jun 2005 11:57:28 GMT Subject: Re: Using local trees and cogito Message-ID: In-Reply-To: <20050616163907.GA26037@delft.aura.cs.cmu.edu> Hi, Jan Harkes wrote: > I use, > > git-diff-cache -R -p HEAD | git-apply --index > > This simple reverse applies the differences between the previously > checked out tree and the branch we just switched to. Ofcourse the > cache/index has to be up to date before we switch between branches. ... except that this method fails to create intermediate dirctories. fatal: unable to create file drivers/media/dvb/dibusb/Kconfig (No such file or directory) Looks like a bug in git-apply. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Let us endeavor so to live that when we come to die even the undertaker will be sorry. -- Mark Twain, "Pudd'nhead Wilson's Calendar"