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

Re: Complete http-pull; where should it go?

From
Junio C Hamano <junkio@cox.net>
Date
May 2, 2005, 02:03 UTC
Message-ID
<7v4qdmqt8v.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0505011840590.2162@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:

LT> Hmm.. I actually implemented it, because it's simple to LT> implement, but now that I've tried using it, I just find it LT> to be too much like line noise to do

LT> 	git-diff-tree -p 0-HEAD HEAD

LT> for "parent to current". The notation "-HEAD" also works, LT> but since that looks like a command line flag, it's usually LT> not useful, except when combined with other stuff, ie LT> "0---HEAD" is "three parents up".

That's why I said I do not think this belongs to the Plumbing.

JIT command-line would do just "jit-diff" to get the diff between the work tree and the commit (or snapshot) it is based upon, without parameter. Fully spelled out, it would be "jit-diff -1:1". This kind of syntax, although is quite useful in JIT context (e.g. saying "jit-patch --2" to mean "apply changes between snnapshot 2 and two parents up of it to my current work tree"), I tend to agree that it is a bit too weird for the core Plumbing layer, for which Unixy syntax is more suitable.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 11 of 14 in “Complete http-pull; where should it go?”
  1. Daniel BarkalowMay 1, 2005
  2. Linus TorvaldsMay 1, 2005
  3. Daniel BarkalowMay 1, 2005
  4. Linus TorvaldsMay 1, 2005
  5. Daniel BarkalowMay 1, 2005
  6. Linus TorvaldsMay 1, 2005
  7. Daniel BarkalowMay 1, 2005
  8. Linus TorvaldsMay 1, 2005
  9. Junio C HamanoMay 2, 2005
  10. Linus TorvaldsMay 2, 2005
  11. Junio C HamanoMay 2, 2005
  12. Linus TorvaldsMay 2, 2005
  13. Daniel BarkalowMay 2, 2005
  14. Junio C HamanoMay 1, 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.