_git2_ junction directory is throwing off dirty checks
See original GitHub issueAfter https://github.com/AArnott/Nerdbank.GitVersioning/pull/393 upgraded libgit2sharp from 0.27.0-preview-0007 to 0.27.0-preview-0024, tests and scenarios started failing because libgit2sharp’s dirty checks reported an uncommitted file with a _git2_
prefix. It actually looks like a directory junction. It’s causing Repository.RetrieveStatus().IsDirty
to return true
and the RepositoryStatus.Untracked
collection to be non-empty.
If this new _git2_
directory is a required temporary location for opening the repo, can libgit2sharp be taught to ignore it for all such purposes?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Determine if Git working directory is clean from a script
Parsing the output of git status is a bad idea because the output is intended to be human readable, not machine-readable.
Read more >How to solve "The directory is not empty" error when ...
To correct the issue, just run check disk: chkdsk /F e: This can be run from the search windows box or from a...
Read more >Link Shell Extension (LSE)
Link Shell Extension (LSE) provides for the creation of Hardlinks, Junctions, Volume Mountpoints, and Symbolic Links, (herein referred to collectively as Links) ...
Read more >Untitled
Air new zealand check in ti es, Victoria beckham wayne panther myspace. ... Aldershot train station, Off white x converse black, Cara menggunakan...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AArnott check out https://www.nuget.org/packages/LibGit2Sharp/0.27.0-preview-0029, this should solve your problem
Thanks! That worked.