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

Re: Bug in diff header generation

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 2, 2007, 22:05 UTC
Message-ID
<Pine.LNX.4.63.0703022254320.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<1172840031.22581.3.camel@localhost.localdomain>
Hi,
On Fri, 2 Mar 2007, Matthias Kestenholz wrote:
> [13:49] mk@crap ~/Projects/git > git diff HEAD:git.c ~/bin/viname|head
> diff --git a/home/mk/bin/viname b/home/mk/bin/viname

This is intended behaviour. You don't want a Git object name as a file specifier, because you cannot edit a Git object.

Hth, Dscho

Previous: Matthias Kestenholz
Message 2 of 2 in “Bug in diff header generation”
  1. Matthias KestenholzMar 2, 2007
  2. Johannes SchindelinMar 2, 2007

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.