threads / discuss / 45180

slightly confusing message

Subject: slightly confusing message

## tl;dr

4 messages between Feb 20, 2017 and Feb 21, 2017.

replies: 3people: 2as markdown or json

Leon George· Feb 20, 2017, 12:35 UTC · lore
Hey, you lovely people <3
Every once in a while this:

£ git add -p . warning: empty strings as pathspecs will be made invalid in upcoming releases. please use . instead if you meant to match all paths No changes.

It seems to happen only when there are no more modified files and git still works wonderfully otherwise - just wanted to let you know.

enjoy your weeks :-)
Junio C Hamano· Feb 20, 2017, 20:19 UTC · re: Leon George · lore

Re: slightly confusing message

Leon George <leon@georgemail.eu> writes:
Show 9 quoted lines
> Every once in a while this:
>
> £ git add -p .
> warning: empty strings as pathspecs will be made invalid in upcoming
> releases. please use . instead if you meant to match all paths
> No changes.
>
> It seems to happen only when there are no more modified files and git
> still works wonderfully otherwise - just wanted to let you know.
This sounds vaguely familiar and indeed I think it is this one:
https://public-inbox.org/git/CAEnOLdvG=SoKFxeJ_pLmamGj_8osC+28TSg+pbFLLTr+ZLcpQA@mail.gmail.com/
which was from late last year.  

I suspect that the issue may already be fixed at the tip of 'master' (aka Git 2.12-rc2).

Thanks.
Leon George· Feb 21, 2017, 02:15 UTC · re: Junio C Hamano · lore

Re: slightly confusing message

Hello and thank you for your time.

On 20/02/17 21:19, Junio C Hamano wrote:
> This sounds vaguely familiar and indeed I think it is this one:
> https://public-inbox.org/git/CAEnOLdvG=SoKFxeJ_pLmamGj_8osC+28TSg+pbFLLTr+ZLcpQA@mail.gmail.com/
> which was from late last year.
Which means I should have found it before bothering you.
> I suspect that the issue may already be fixed at the tip of 'master'
> (aka Git 2.12-rc2).
You're absolutely right. Took a while to build, but here goes:

£ git gitss ?? test £ git --version git version 2.11.0 £ git add -p . warning: empty strings as pathspecs will be made invalid in upcoming releases. please use . instead if you meant to match all paths No changes. £ git --version git version 2.12.0-rc2 £ git add -p . No changes.

Splendid!
have a wonderfull day :-)
Junio C Hamano· Feb 21, 2017, 02:22 UTC · re: Leon George · lore

Re: slightly confusing message

Leon George <leon@georgemail.eu> writes:
Show 5 quoted lines
> On 20/02/17 21:19, Junio C Hamano wrote:
>> This sounds vaguely familiar and indeed I think it is this one:
>> https://public-inbox.org/git/CAEnOLdvG=SoKFxeJ_pLmamGj_8osC+28TSg+pbFLLTr+ZLcpQA@mail.gmail.com/
>> which was from late last year.
> Which means I should have found it before bothering you.

It means no such thing, though. It just means that I happen to be more familiar with what has gone on the development recently than you were ;-)

Show 5 quoted lines
>> I suspect that the issue may already be fixed at the tip of 'master'
>> (aka Git 2.12-rc2).
> You're absolutely right. Took a while to build, but here goes:
> ...
> Splendid!
Thanks for confirming.

← back to recent threads