Re: Bug: stash save -u removes (some) ignored files
- From
- Felipe Sateler <fsateler@debian.org>
- Date
- Nov 4, 2015, 12:27 UTC
- Message-ID
- <CAAfdZj_t86AuhU7dgx81-MXFp7Fe=TCZ0uzRu37+FUp80mvy5Q@mail.gmail.com>
- In-Reply-To
- <CA+izobsNJ+Aj6JwFTtZVD_+8m9uXV-iiM7Z2aYWNCnWXFd82Dg@mail.gmail.com>
On 4 November 2015 at 03:23, Atousa Duprat <atousa.p@gmail.com> wrote:
Show 10 quoted lines
>> felipe@felipe:testgit% git stash save -u > > This does the following: > $ GIT_TRACE=1 git stash save -u > [...] > 21:59:10.606094 git.c:348 trace: built-in: git 'clean' > '--force' '--quiet' '-d' > > git-clean -d removes untracked directories in addition to untracked files. > Should 'git stash save -u' issue a 'git clean -d' or simply a 'git clean'?
It appears to be intentionally done[1]. Maybe the problem is that git-clean -d should not remove untracked directories that contain ignored files?
[1] http://article.gmane.org/gmane.comp.version-control.git/180214
-- Saludos, Felipe Sateler