git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git diff --stat" doesn't show added empty file
@ 2009-01-12  3:36 Ping Yin
  2009-01-12 12:19 ` Johannes Schindelin
  2009-01-12 16:13 ` Linus Torvalds
  0 siblings, 2 replies; 6+ messages in thread
From: Ping Yin @ 2009-01-12  3:36 UTC (permalink / raw)
  To: Git Mailing List

$ git --version
git version 1.6.1.9.g97c34
$ mkdir test && cd test && git init && git commit --allow-empty -m
"Initial commit"
$ touch .gitignore && git add .gitignore && git commit -m "Add empty .gitignore"
$ git diff --stat HEAD^..
 0 files changed, 0 insertions(+), 0 deletions(-)

May be the following is better?

 .gitignore |    0 +
 1 files changed, 0 insertions(+), 0 deletions(-)

Ping Yin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-13 11:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12  3:36 "git diff --stat" doesn't show added empty file Ping Yin
2009-01-12 12:19 ` Johannes Schindelin
2009-01-12 15:41   ` Michael J Gruber
2009-01-13 11:27     ` Johannes Schindelin
2009-01-12 16:13 ` Linus Torvalds
2009-01-13  7:42   ` Ping Yin

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).