git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git clean -fdx deletes tracked files
@ 2017-08-15 18:45 Kim Birkelund
  2017-08-15 19:25 ` Kevin Daudt
  0 siblings, 1 reply; 4+ messages in thread
From: Kim Birkelund @ 2017-08-15 18:45 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi

I hope this is gonna sound as weird to you as it does to me.

The link below is a zip of a small git repository that I can reproduce
the bug in on 2 machines.

Repo: https://www.dropbox.com/s/fz4d0i5ko7s7ktr/test.zip?dl=0

It contains 2 folders: helpers and b, each of which is an empty npm
module. b\package.json refers to the helpers module.

The following reproduces the bug:

1) in terminal cd to the b folder
2) run npm install
3) run git reset HEAD --hard
4) run git clean -fdx

At this point both files in the helpers folder has been deleted and
running git status confirms this.

Tool version:

git --version => git version 2.10.2.windows.1
node -v => v6.11.2
npm -v => 5.3.0


I have no idea what is going. Very much hope you can explain :-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-17  0:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-15 18:45 git clean -fdx deletes tracked files Kim Birkelund
2017-08-15 19:25 ` Kevin Daudt
2017-08-16  6:47   ` Kim Birkelund
2017-08-17  0:12     ` Andrew Ardill

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).