Re: git stash push -u always warns "pathspec '...' did not match any files"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 9, 2018, 22:18 UTC
- Message-ID
- <xmqqwoyk51w4.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <08d765ec-b2d7-7087-fca5-2eecefcef9cf@syntevo.com>
Marc Strapetz <marc.strapetz@syntevo.com> writes:
Show 5 quoted lines
> Thanks, I can confirm that the misleading warning message is fixed. > > What I've noticed now is that when using -u option, Git won't warn if > the pathspec is actually not matching a file. Also, an empty stash may > be created.
Soooo..., does it mean that the patch Thomas posted and you confirmed trades one issue with another issue with a similar graveness? Is this something we want to "fix" without adding another breakage?