Thread (6 messages) flat view 6 messages, 4 authors, 2016-07-16

Re: [PATCH] git-clean: remove fifo, devices, socket files

From: Johannes Schindelin <hidden>
Date: 2016-07-15 10:49:54

Hi Andrey,

On Fri, 15 Jul 2016, Andrey Vagin wrote:
What will be wrong if 'git status' will reports these [fifo/socket] files?
`git status` is intended to give you an idea what to commit next. And...
What will be wrong if 'git add' will returns an error instead of
skipping them silently?
... we *cannot* commit fifos or sockets. There is simply no representation
in Git's data model for them.

Having said that, I would welcome a patch that makes `git add` complain
about arguments that could not be added (and are not directories).

As to the patch in question, for the above-mentioned reasons, I think we
want to keep the existing behavior instead.

Ciao,
Johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help