Re: Possible bug in Git
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Apr 16, 2010, 17:00 UTC
- Message-ID
- <201004161900.26537.trast@student.ethz.ch>
- In-Reply-To
- <7vvdbrcp5g.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 11 quoted lines
> There was already a "fix" posted for the "empty vs missing" confusion. > > From: Thomas Rast <trast@student.ethz.ch> > Subject: [PATCH] combined diff: correctly handle truncated file > Date: Thu, 15 Apr 2010 14:59:37 +0200 > Message-ID: > <884b9b68a4478aceda580299c059a9a67417cb1c.1271336073.git.trast@student.ethz.ch> > > I've been busy for the past few days, but I have it in my 'to-maint' > queue. We may actually want to do the same for "missing" case as well, > though.
Why? The evil deletion is already reported as
diff --cc foo index 5716ca5,7601807..0000000 deleted file mode 100644,100644 --- a/foo +++ /dev/null
with no diff -- but the absence of a diff is because of your 4462731 (combine-diff: do not punt on removed or added files., 2006-02-06) and I tend to agree with the reasoning.
--
Thomas Rast
trast@{inf,student}.ethz.ch