Re: [PATCH] diff: don't presume empty file when corresponding object is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nicolas,

On Fri, Oct 22, 2010 at 12:02:27AM -0400, Nicolas Pitre wrote:
> The low-level diff code will happily produce totally bogus diff output 
> with a broken repository via format-patch and friends by treating missing
> objects as empty files.  Let's prevent that from happening any longer.
> 
> Reported-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
Great, this fixes format-patch to fail in my tree as advertised.
Tested-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

> Signed-off-by: Nicolas Pitre <nico@xxxxxxxxxxx>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]