Comments (2)
Some additional valuable suggestions from @bk2204, regarding how we could use Git config extensions:
Git 2.7.0 and newer have support for an
extensions
section in the config. If you setcore.repositoryFormatVersion
to1
, then you can set extensions, and if the git binary in question doesn’t understand them, it will abort. Therefore, for VFS for Git repositories, it’s possible to simply create your own extension, say,extensions.vfsforgit
, and set it to1
in the repository config file. A suitably enabled Git will know about it, but if there’s a different Git on the system that isn’t capable of that, it will fail in a noisy way, making it obvious what’s going on. libgit2 should also fail here, which we’d want as well.That doesn’t solve the problem of finding the right Git, but it does ensure that if we use
PATH
, we don’t have to worry as much that we accidentally have the wrong Git. We won’t, for example, have to worry about data corruption.
from vfsforgit.
which
-based solution at microsoft#999.
from vfsforgit.
Related Issues (20)
- Use .vfsforgit instead of .gvfs directories for GVFS provider HOT 4
- Prevent deadlocks when GVFS provider triggers callback events HOT 2
- Wait for FUSE device to be mounted at startup
- Implement DeleteFile and UpdatePlaceholderIfNeeded in ProjFS.Linux HOT 2
- Ensure GVFS provider only accesses .git on lower storage filesystem HOT 4
- Tracking: Run VFSForGit functional tests on Linux HOT 7
- Refactor Mac/Linux versions of FastFetch.NativeUnixMethods with POSIX base class HOT 1
- Tracking: Set up unit and functional test CI for Linux HOT 2
- Determine top-level projection state and pass to libprojfs at mount time HOT 1
- Ignore pipe or socket inodes on non-projection events HOT 2
- resolve problem with "git add" on mounted repos
- Determine initial projection state in provider rather than ProjFS layer HOT 2
- Support case-sensitive file matching on Linux HOT 2
- Handle unmount failures gracefully
- Implement GVFS service registry
- Change .gvfsCache folder to .vfsforgitCache HOT 3
- enable on Linux all relevant functional tests marked Mac/Windows-only HOT 2
- do not lose folders after rename and checkout HOT 1
- remove all sources of uppercase SHA1 values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vfsforgit.