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

Re: git-show ignores --pretty

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jan 16, 2007, 11:21 UTC
Message-ID
<200701161121.38876.andyparkins@gmail.com>
In-Reply-To
<200701161114.07073.andyparkins@gmail.com>
On Tuesday 2007 January 16 11:14, Andy Parkins wrote:
> You always get the diff, which could well be intended.  Is that the case? 
> If it is, is there a way to surpress the diff?

The answer is "yes"; found in man git-diff-tree (which I'm sure you knew, but I'm just terminating the thread in an answer, for the next soul that comes looking).

 git-show -s HEAD
Suppresses the diff output.
Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous: Andy ParkinsNext: Johannes Schindelin
Message 3 of 4 in “git-show ignores --pretty”
  1. Andy ParkinsJan 16, 2007
  2. Andy ParkinsJan 16, 2007
  3. Andy ParkinsJan 16, 2007
  4. Johannes SchindelinJan 16, 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.