From: "Ping Yin" <pkufranky@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: "git diff --stat" doesn't show added empty file
Date: Mon, 12 Jan 2009 11:36:00 +0800 [thread overview]
Message-ID: <46dff0320901111936h6343e51fo94750d83e95743dc@mail.gmail.com> (raw)
$ 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
next reply other threads:[~2009-01-12 3:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 3:36 Ping Yin [this message]
2009-01-12 12:19 ` "git diff --stat" doesn't show added empty file 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46dff0320901111936h6343e51fo94750d83e95743dc@mail.gmail.com \
--to=pkufranky@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).