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

Re: [PATCH] Make -s flag to show-diff a no-op.

From
Junio C Hamano <junkio@cox.net>
Date
Apr 27, 2005, 22:35 UTC
Message-ID
<7v64y7etko.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0504271520150.18901@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:

LT> I also wonder whether "-p" should turn on recursion by default (for all LT> the tools). "-p" without "-r" doesn't really seem to make much sense, does LT> it?

When I know which path I am interested in,
    $ diff-tree -p <tree-1> <tree-2> ls-tree.c

would still get the benefit of not descending down into ppc and mozilla-sha1 subdirectories, if I am not mistaken.

Think of the kernel sources, and I would say leaving the option of not recursing down is a good thing.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 5 in “Make -s flag to show-diff a no-op.”
  1. Make -s flag to show-diff a no-op.Junio C Hamano, Apr 27, 2005
  2. Linus TorvaldsApr 27, 2005
  3. Junio C HamanoApr 27, 2005
  4. Linus TorvaldsApr 27, 2005
  5. Junio C HamanoApr 27, 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.