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

Re: [RFC] diff-cache buglet

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 26, 2005, 18:38 UTC
Message-ID
<Pine.LNX.4.58.0504261137350.18901@ppc970.osdl.org>
In-Reply-To
<7vsm1do0t4.fsf@assigned-by-dhcp.cox.net>
On Tue, 26 Apr 2005, Junio C Hamano wrote:
Show 11 quoted lines
> 
> Well, I somehow thought these things are in fixed column format;
> mode, ->, sha, stage, and filename are all seperated with either
> ' ' or '\t'.  So if I copy MN to "1 MN", presumably you would
> see this:
> 
>     100644 a716d58de4a570e0038f5c307bd8db34daea021f 0 MN
>     100644 a716d58de4a570e0038f5c307bd8db34daea021f 0 1 MN
> 
> So while I agree that // would also work, I fail to see why you
> would even need that.
Because I'd rather _not_ have the 0 in there at all for the normal case.

Yes, it's there for "show-files --stages", but it's certainly _not_ there in "diff-tree" output right now.

		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 9 in “[RFC] diff-cache buglet”
  1. Junio C HamanoApr 26, 2005
  2. Linus TorvaldsApr 26, 2005
  3. Junio C HamanoApr 26, 2005
  4. Linus TorvaldsApr 26, 2005
  5. Junio C HamanoApr 26, 2005
  6. Linus TorvaldsApr 26, 2005
  7. Junio C HamanoApr 26, 2005
  8. Linus TorvaldsApr 26, 2005
  9. Junio C HamanoApr 26, 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.