git-show ignores --pretty

4 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-show ignores --pretty

From: Andy Parkins <hidden>
Date: 2016-06-15 22:42:49

Hello,

$ git --version
git version 1.5.0.rc1.gf4b6c

Running git-show with a --pretty format is no different from without 
a --pretty.

Doesn't seem to matter what format you pick, you always get medium/full.



Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com

Re: git-show ignores --pretty

From: Andy Parkins <hidden>
Date: 2016-06-15 22:42:49

On Tuesday 2007 January 16 10:58, Andy Parkins wrote:
$ git --version
git version 1.5.0.rc1.gf4b6c

Running git-show with a --pretty format is no different from without
a --pretty.

Doesn't seem to matter what format you pick, you always get medium/full.
Correction: I think I'm going blind.

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?


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com

Re: git-show ignores --pretty

From: Andy Parkins <hidden>
Date: 2016-06-15 22:42:49

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

Re: git-show ignores --pretty

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:49

Hi,

On Tue, 16 Jan 2007, 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?
"git show -s <commit>"

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help