Re: [BUG] Git add <device file> silently fails

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

 



On Sat, Apr 17, 2010 at 17:00, Andreas Gruenbacher <agruen@xxxxxxx> wrote:
> On Saturday 17 April 2010 16:44:05 Alex Riesen wrote:
>> I think something like this should make the accident more
>> noticable:
>
> Doesn't actually tell what the problem might be, though.
>

Oh, sorry. Somehow I thought, you did found what the problem is
(Git is not an archiving tool and does not store irregular files), and
just wanted to point at "git add" failing silently adding such a name.

In this particular case, the name you given to Git, is a device
entry point, which is filtered. Far too early, in my opinion, so
no sensible diagnostics can be produced. That's why I suggested
an exit with generic error message. I hope it is enough to at least
point the user to where a problem (like a fifo, device or socket
give in the command line) might be.
--
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]