* git-show ignores --pretty
@ 2007-01-16 10:58 Andy Parkins
2007-01-16 11:14 ` Andy Parkins
0 siblings, 1 reply; 4+ messages in thread
From: Andy Parkins @ 2007-01-16 10:58 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-show ignores --pretty
2007-01-16 10:58 git-show ignores --pretty Andy Parkins
@ 2007-01-16 11:14 ` Andy Parkins
2007-01-16 11:21 ` Andy Parkins
2007-01-16 11:32 ` Johannes Schindelin
0 siblings, 2 replies; 4+ messages in thread
From: Andy Parkins @ 2007-01-16 11:14 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-show ignores --pretty
2007-01-16 11:14 ` Andy Parkins
@ 2007-01-16 11:21 ` Andy Parkins
2007-01-16 11:32 ` Johannes Schindelin
1 sibling, 0 replies; 4+ messages in thread
From: Andy Parkins @ 2007-01-16 11:21 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-show ignores --pretty
2007-01-16 11:14 ` Andy Parkins
2007-01-16 11:21 ` Andy Parkins
@ 2007-01-16 11:32 ` Johannes Schindelin
1 sibling, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2007-01-16 11:32 UTC (permalink / raw)
To: Andy Parkins; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-16 11:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-16 10:58 git-show ignores --pretty Andy Parkins
2007-01-16 11:14 ` Andy Parkins
2007-01-16 11:21 ` Andy Parkins
2007-01-16 11:32 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).