Re: git-show --stat on first commit
- From
- Santi Béjar <sbejar@gmail.com>
- Date
- Nov 21, 2006, 14:09 UTC
- Message-ID
- <8aa486160611210609h1c2d229ekf0b5e8aeb4f21f11@mail.gmail.com>
- In-Reply-To
- <200611211341.48862.andyparkins@gmail.com>
On 11/21/06, Andy Parkins <andyparkins@gmail.com> wrote:
Show 8 quoted lines
> Hello, > > I'm sure this one will be known about already. git-show --stat on the the > first commit doesn't show anything. I assume it's because git-diff-tree has > nothing to diff against (although shouldn't that be an everything-new diff?). > > Given the above; does anyone have a suggestion for what I could use as a > replacement? Even just a list of the new files would be useful.
$ git show --stat --root
In general the initial commit diff (or stat) is hidden, but perhaps it make sense to show it in "git show", you asked fo this specifically.