Ok, so you and i have pretty much the same opinion.
This behaviour is undocumented and i'd say dangerous.
I will file a bug report.
Thank you all for your help.
On Mon, Nov 17, 2014 at 5:04 PM, Roman Neuhauser <neuhau...@sigpipe.cz> wrote:
> # wor...@alum.mit.edu / 2014-11-17 10:21:55 -0500:
>> > From: Guilherme <guibuf...@gmail.com>
>> > git add '' CDD/CDD_Diag.c
>> When I experiment, "git add ''" seems to have the same effect as "git
>> add .", which is not surprsing.
> (i'm not the OP)
> it *is* very much surprising, at least if you're used to deal with
> quality command line interfaces.
>> The problem is that you're invoking git-add with arguments whose
>> effect is not specified.
> the problem is that the git-add command line does not specify its
> behavior fully.
>> The solution is not to invoke git-add with a zero-character argument.
> no, that's a workaround.
> guibufolo: there are some live wires coming out of the wall here.
> worley: just don't touch them, that's the solution!
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.