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

Re: Struggling with tangled

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 22, 2006, 13:30 UTC
Message-ID
<Pine.LNX.4.63.0611221429470.30004@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vu00rsnho.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 22 Nov 2006, Junio C Hamano wrote:
Show 11 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > 	git diff --ours <file> | git apply -R
> >
> > This also updates the index.
> 
> Good suggestion, but apply does not update the index without
> being told to do so with --index, so I think the commandline
> should be:
> 
> 	git diff --ours <path> | git apply -R --index

Oops. Thanks! Dscho

Previous: Junio C Hamano
Message 7 of 7 in “Struggling with tangled”
  1. Alan ChandlerNov 22, 2006
  2. Jakub NarebskiNov 22, 2006
  3. Alan ChandlerNov 22, 2006
  4. Jakub NarebskiNov 22, 2006
  5. Johannes SchindelinNov 22, 2006
  6. Junio C HamanoNov 22, 2006
  7. Johannes SchindelinNov 22, 2006

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.