Skip to content

Commit

Permalink
Revert "GVFSVerb: Use OAuth credentials by default"
Browse files Browse the repository at this point in the history
This reverts commit abcb73f.

Using this authentication mode by default is breaking some automated
scenarios on build agents that use "gvfs clone". Removing the new
default is a fast measure to fix these users, while a longer-term
consideration for increasing adoption of OAuth can be done at a later
date with the proper parties engaged.
  • Loading branch information
derrickstolee committed Mar 13, 2024
1 parent 55ba68d commit 02deee0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions GVFS/GVFS/CommandLine/GVFSVerb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,6 @@ public static bool TrySetRequiredGitConfigSettings(Enlistment enlistment)

// Disable the builtin FS Monitor in case it was enabled globally.
{ "core.useBuiltinFSMonitor", "false" },

// Set the GCM credential method to use OAuth tokens.
// See https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/configuration.md#credentialazreposcredentialtype
// for more information.
{ "credential.azreposCredentialType", "oauth" },
};

if (!TrySetConfig(enlistment, requiredSettings, isRequired: true))
Expand Down

0 comments on commit 02deee0

Please sign in to comment.