diff options
Diffstat (limited to 'LibGit2Sharp/ReferenceCollectionExtensions.cs')
-rw-r--r-- | LibGit2Sharp/ReferenceCollectionExtensions.cs | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/LibGit2Sharp/ReferenceCollectionExtensions.cs b/LibGit2Sharp/ReferenceCollectionExtensions.cs index ee552649..c0e65d6c 100644 --- a/LibGit2Sharp/ReferenceCollectionExtensions.cs +++ b/LibGit2Sharp/ReferenceCollectionExtensions.cs @@ -92,21 +92,6 @@ namespace LibGit2Sharp } /// <summary> - /// Creates a direct or symbolic reference with the specified name and target - /// </summary> - /// <param name="refsColl">The <see cref="ReferenceCollection"/> being worked with.</param> - /// <param name="name">The name of the reference to create.</param> - /// <param name="canonicalRefNameOrObjectish">The target which can be either the canonical name of a reference or a revparse spec.</param> - /// <param name="logMessage">The optional message to log in the <see cref="ReflogCollection"/> when adding the <see cref="Reference"/></param> - /// <param name="allowOverwrite">True to allow silent overwriting a potentially existing reference, false otherwise.</param> - /// <returns>A new <see cref="Reference"/>.</returns> - [Obsolete("This method will be removed in the next release. Prefer the overload that takes a signature and a message for the reflog.")] - public static Reference Add(this ReferenceCollection refsColl, string name, string canonicalRefNameOrObjectish, bool allowOverwrite, string logMessage) - { - return Add(refsColl, name, canonicalRefNameOrObjectish, null, logMessage, allowOverwrite); - } - - /// <summary> /// Updates the target of a direct reference. /// </summary> /// <param name="refsColl">The <see cref="ReferenceCollection"/> being worked with.</param> @@ -140,20 +125,6 @@ namespace LibGit2Sharp } /// <summary> - /// Updates the target of a direct reference - /// </summary> - /// <param name="refsColl">The <see cref="ReferenceCollection"/> being worked with.</param> - /// <param name="directRef">The direct reference which target should be updated.</param> - /// <param name="objectish">The revparse spec of the target.</param> - /// <param name="logMessage">The optional message to log in the <see cref="ReflogCollection"/> of the <paramref name="directRef"/> reference.</param> - /// <returns>A new <see cref="Reference"/>.</returns> - [Obsolete("This method will be removed in the next release. Prefer the overload that takes a signature and a message for the reflog.")] - public static Reference UpdateTarget(this ReferenceCollection refsColl, Reference directRef, string objectish, string logMessage) - { - return UpdateTarget(refsColl, directRef, objectish, null, logMessage); - } - - /// <summary> /// Rename an existing reference with a new name /// </summary> /// <param name="currentName">The canonical name of the reference to rename.</param> @@ -240,21 +211,6 @@ namespace LibGit2Sharp } /// <summary> - /// Updates the target of a reference - /// </summary> - /// <param name="refsColl">The <see cref="ReferenceCollection"/> being worked with.</param> - /// <param name="name">The canonical name of the reference.</param> - /// <param name="canonicalRefNameOrObjectish">The target which can be either the canonical name of a reference or a revparse spec.</param> - /// <param name="logMessage">The optional message to log in the <see cref="ReflogCollection"/> of the <paramref name="name"/> reference.</param> - /// <returns>A new <see cref="Reference"/>.</returns> - [Obsolete("This method will be removed in the next release. Prefer the overload that takes a signature and a message for the reflog.")] - public static Reference UpdateTarget(this ReferenceCollection refsColl, string name, string canonicalRefNameOrObjectish, string logMessage) - { - return UpdateTarget(refsColl, name, canonicalRefNameOrObjectish, null, logMessage); - } - - - /// <summary> /// Delete a reference with the specified name /// </summary> /// <param name="refsColl">The <see cref="ReferenceCollection"/> being worked with.</param> |