Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git status does not report untracked files that are more than one folder deep #358

Closed
wilbaker opened this issue Oct 8, 2018 · 0 comments · Fixed by #373
Closed

git status does not report untracked files that are more than one folder deep #358

wilbaker opened this issue Oct 8, 2018 · 0 comments · Fixed by #373
Assignees

Comments

@wilbaker
Copy link
Member

wilbaker commented Oct 8, 2018

This is a new break that is likely related to the changes to cleanup ModifiedPaths.dat.

If a new file is created several folders deep, git status will not report it.

Last released version

M:\>gvfs clone https://gvfs.visualstudio.com/ci/_git/ForTests
M:\>cd ForTests\src
M:\ForTests\src>mkdir foo
M:\ForTests\src>mkdir foo\bar
M:\ForTests\src>echo test > foo\bar\test
M:\ForTests\src>git status
On branch master
Your branch is up-to-date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        foo/

nothing added to commit but untracked files present (use "git add" to track)

Latest master: Untracked file is not reported

M:\>gvfs clone https://gvfs.visualstudio.com/ci/_git/ForTests ForTestsMaster
M:\>cd ForTestsMaster
M:\ForTestsMaster>cd src
M:\ForTestsMaster\src>mkdir foo
M:\ForTestsMaster\src>mkdir foo\bar
M:\ForTestsMaster\src>echo test > foo\bar\test
M:\ForTestsMaster\src>git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working tree clean
derrickstolee added a commit that referenced this issue Oct 12, 2018
…racked files

Update the package for GitForWindows to include tracing information.

Includes the following Git PRs:

* [36 Avoid `sane_execvp` in `git rebase` and `git stash`](microsoft/git#36)
* [34 Add Trace2 regions to 'pack-objects'](microsoft/git#34)
* [28 Trace2 base plus GVFS extensions](microsoft/git#28)
* [33 virtualfilesystem: check if directory is included](microsoft/git#33)
* [31 Revert "gvfs: add a perf test for reading the index"](microsoft/git#31)
* [32 compat/poll: prepare for targeting Windows Vista](microsoft/git#32)
* [22 Enable the filesystem cache (fscache) in refresh_index()](microsoft/git#22)
* [27 virtualfilesystem: fix bug with symlinks being ignored](microsoft/git#27)
* [23 Unpack trees with cache tree gvfs](microsoft/git#23)
* [15 virtualfilesystem: don't run the virtual file system hook if the index has been redirected](microsoft/git#15)
* Includes Git 2.19.0.

This also includes VFS for Git updates from Kevin Willford's work:

**Fix missing untracked files when created in subfolder**

Add to the test to create multiple level of folders and files in those folder to make sure they show up as untracked files.

Update the git for windows version that has the fix.

Fixes #358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants