@@ -36,59 +36,6 @@ public GVFSVerb(bool validateOrigin = true)
3636 this . InitializeDefaultParameterValues ( ) ;
3737 }
3838
39- [ Flags ]
40- private enum GitCoreGVFSFlags
41- {
42- // GVFS_SKIP_SHA_ON_INDEX
43- // Disables the calculation of the sha when writing the index
44- SkipShaOnIndex = 1 << 0 ,
45-
46- // GVFS_BLOCK_COMMANDS
47- // Blocks git commands that are not allowed in a GVFS/Scalar repo
48- BlockCommands = 1 << 1 ,
49-
50- // GVFS_MISSING_OK
51- // Normally git write-tree ensures that the objects referenced by the
52- // directory exist in the object database.This option disables this check.
53- MissingOk = 1 << 2 ,
54-
55- // GVFS_NO_DELETE_OUTSIDE_SPARSECHECKOUT
56- // When marking entries to remove from the index and the working
57- // directory this option will take into account what the
58- // skip-worktree bit was set to so that if the entry has the
59- // skip-worktree bit set it will not be removed from the working
60- // directory. This will allow virtualized working directories to
61- // detect the change to HEAD and use the new commit tree to show
62- // the files that are in the working directory.
63- NoDeleteOutsideSparseCheckout = 1 << 3 ,
64-
65- // GVFS_FETCH_SKIP_REACHABILITY_AND_UPLOADPACK
66- // While performing a fetch with a virtual file system we know
67- // that there will be missing objects and we don't want to download
68- // them just because of the reachability of the commits. We also
69- // don't want to download a pack file with commits, trees, and blobs
70- // since these will be downloaded on demand. This flag will skip the
71- // checks on the reachability of objects during a fetch as well as
72- // the upload pack so that extraneous objects don't get downloaded.
73- FetchSkipReachabilityAndUploadPack = 1 << 4 ,
74-
75- // 1 << 5 has been deprecated
76-
77- // GVFS_BLOCK_FILTERS_AND_EOL_CONVERSIONS
78- // With a virtual file system we only know the file size before any
79- // CRLF or smudge/clean filters processing is done on the client.
80- // To prevent file corruption due to truncation or expansion with
81- // garbage at the end, these filters must not run when the file
82- // is first accessed and brought down to the client. Git.exe can't
83- // currently tell the first access vs subsequent accesses so this
84- // flag just blocks them from occurring at all.
85- BlockFiltersAndEolConversions = 1 << 6 ,
86-
87- // GVFS_PREFETCH_DURING_FETCH
88- // While performing a `git fetch` command, use the gvfs-helper to
89- // perform a "prefetch" of commits and trees.
90- PrefetchDuringFetch = 1 << 7 ,
91- }
9239
9340 public abstract string EnlistmentRootPathParameter { get ; set ; }
9441
0 commit comments