From: Andrew Price <andy@andrewprice.me.uk>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: once again, what's with "drivers/char/vr41xx_giu.c"?
Date: Sat, 11 Jul 2009 02:32:12 +0100 [thread overview]
Message-ID: <20090711013212.GA1252@sucs.org> (raw)
In-Reply-To: <alpine.LFD.2.00.0907100505400.11274@localhost>
Hi Robert,
On Fri, Jul 10, 2009 at 05:06:49AM -0400, Robert P. J. Day wrote:
>
> on an occasional basis (after pulls), i get:
>
> $ git diff
> diff --git a/drivers/char/vr41xx_giu.c b/drivers/char/vr41xx_giu.c
> deleted file mode 100644
> index e69de29..0000000
> $
>
> not the first time i've seen that, either. methinks that file got
> itself into a funny state.
No need to panic, it just looks like somebody left an empty file without
'git rm'ing it. When you run 'make distclean' for example, it removes
all empty files and leaves you with an unclean checkout. You can get the
(empty) file back by 'git checkout'ing the file. But yes, you shouldn't
have to. Anyway, CCing Linus to bring it to his attention.
I wonder if there is a better way to avoid this happening? If 'make
distclean' is assuming that no files should be empty then there should
probably be a guard against introducing empty files in the first place.
Can git warn us when we commit or merge changes which leave empty files,
for instance?
Andrew
next prev parent reply other threads:[~2009-07-11 1:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 9:06 once again, what's with "drivers/char/vr41xx_giu.c"? Robert P. J. Day
2009-07-11 1:32 ` Andrew Price [this message]
2009-07-11 4:41 ` Robert P. J. Day
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=20090711013212.GA1252@sucs.org \
--to=andy@andrewprice.me.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rpjday@crashcourse.ca \
--cc=torvalds@linux-foundation.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