Skip to contentSkip to conversation

update-cache.c ignore directories

PATCH atani 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore

atani

author
#0 lore raw
Quoted 9 lines

Am Samstag, 23. April 2005 00:25 schrieb atani:

Quoted 4 lines

Now it spits out:
-------------
'plx' is a directory, ignoring
-------------

I saw that you spit this out to stdout. Wouldn't it be better to

spit it out

Quoted 1 line

to stderr (even if its just a warning)?

Sure. I do not know of the current conventions on where the output should go, or which methods to use for said output. Is there a standard method for handling "warnings"? I saw there is the "die" method but that is not what should be used here as implies a "fatal" error.

Mike