git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Using local trees and cogito

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
Jun 17, 2005, 11:57 UTC
Message-ID
<pan.2005.06.17.11.57.23.864424@smurf.noris.de>
In-Reply-To
<20050616163907.GA26037@delft.aura.cs.cmu.edu>
Hi, Jan Harkes wrote:
Show 7 quoted lines
> 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"
Previous: Jan Harkes
Message 3 of 3 in “Using local trees and cogito”
  1. Jon SmirlJun 16, 2005
  2. Jan HarkesJun 16, 2005
  3. Matthias UrlichsJun 17, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.