You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LibGit2Sharp/GlobalSettings.cs
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -525,6 +525,30 @@ public static void SetUserAgent(string userAgent)
525
525
Proxy.git_libgit2_opts_set_user_agent(userAgent);
526
526
}
527
527
528
+
/// <summary>
529
+
/// Set that the given git extensions are supported by the caller.
530
+
/// </summary>
531
+
/// <remarks>
532
+
/// Extensions supported by libgit2 may be negated by prefixing them with a `!`. For example: setting extensions to { "!noop", "newext" } indicates that the caller does not want
533
+
/// to support repositories with the `noop` extension but does want to support repositories with the `newext` extension.
/// Returns the list of git extensions that are supported.
543
+
/// </summary>
544
+
/// <remarks>
545
+
/// This is the list of built-in extensions supported by libgit2 and custom extensions that have been added with `SetExtensions`. Extensions that have been negated will not be returned.
0 commit comments