Re: git-show ignores --pretty
- From
- Andy 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