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

Re: [PATCH] Allow pickaxe and diff-filter options to be used by git log.

From
Sean <seanlkml@sympatico.ca>
Date
May 19, 2006, 05:49 UTC
Message-ID
<BAYC1-PASMTP092CB0667E05EA20FBA30EAEA70@CEZ.ICE>
In-Reply-To
<7vbqtuk1uw.fsf@assigned-by-dhcp.cox.net>

On Thu, 18 May 2006 22:41:43 -0700 Junio C Hamano <junkio@cox.net> wrote:

Show 8 quoted lines
> To me, if the user explicitly says --diff-filter or -S, it seems
> more natural to interpret that the user wanted _some_ sort of
> diff.  Now, there are people who say raw format is anti-human,
> which I consider is a valid view, but I think it is better than
> NO_OUTPUT in that case.
> 
> I wonder if doing something like this instead makes more sense
> perhaps?

Well, I was looking at the use of diff-filter and -S as a way to prune uninteresting commits from the log rather than as an desire to see the patch information.

It's pretty natural to add -p or --stat along with the above options if that is what the user wants. If you make those implied by using --diff-filter or -S is there a way for the user to say, no patch and no stat?

Sean
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 10 in “Allow pickaxe to be used via git log.”
  1. Allow pickaxe to be used via git log.Sean, May 19, 2006
  2. Junio C HamanoMay 19, 2006
  3. SeanMay 19, 2006
  4. Junio C HamanoMay 19, 2006
  5. SeanMay 19, 2006
  6. Junio C HamanoMay 19, 2006
  7. Allow pickaxe and diff-filter options to be used by git log.Sean, May 19, 2006
  8. Junio C HamanoMay 19, 2006
  9. SeanMay 19, 2006
  10. Junio C HamanoMay 19, 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.