GVFSVerb: use flags for core.gvfs#1622
Conversation
The core.gvfs config option can take a boolen "true" to turn on all options, but also an integer to show a bitmask of important flags. For the first time, we have a new flag that we may not want to enable right away: GVFS_PREFETCH_DURING_FETCH. This flag will make the `git fetch` builtin run a `git gvfs-helper prefetch` command. Until that hardens a bit, we do not want VFS for Git users to use that code path. Update Git to include this option. Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
|
@derrickstolee @jrbriggs I should have asked this question yesterday, but when I added gvfs-helper, I added explicit config settings That would avoid the need to change true==all meaning here. |
I think there is value in making the prefetch-in-fetch work in VFS for Git eventually, as well as dropping the read-object hook in favor of your gvfs-helper. The only thing I can thing is that |
Update the core.gvfs config to include the flag for running prefetch during the fetch command. Resolves #141 and #253. A related response is posted in microsoft/VFSForGit#1622.
The core.gvfs config option can take a boolen "true" to turn on
all options, but also an integer to show a bitmask of important
flags. For the first time, we have a new flag that we may not
want to enable right away: GVFS_PREFETCH_DURING_FETCH.
This flag will make the
git fetchbuiltin run agit gvfs-helper prefetchcommand. Until that hardens a bit, we do not want VFS for Git users
to use that code path.
Update Git to include this option.