This documentation is archived and is not being maintained.

TfsGitRefUpdateStatus Enumeration

Visual Studio 2013

Represents the possible outcomes from a request to update a ref in a repository.

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

'Declaration
Public Enumeration TfsGitRefUpdateStatus

Member nameDescription
ForcePushRequiredIndicates that the ref update request could not be completed because part of the graph would be disconnected by this change, and the caller does not have ForcePush permission on the repository.

InvalidRefNameIndicates that the ref update request could not be completed because the ref name presented in the request was not valid.

ManageNotePermissionRequiredThe ref update request could not be completed because the user lacks note creation permissions required to write this note

StaleOldObjectIdIndicates that the ref update request could not be completed because the old object ID presented in the request was not the object ID of the ref when the database attempted the update. The most likely scenario is that the caller lost a race to update the ref.

SucceededIndicates that the ref update request was completed successfully.

UnprocessedThe request was not processed

UnresolvableToCommitThe ref update request could not be completed because the new object ID for the ref could not be resolved to a commit object (potentially through any number of tags)

WritePermissionRequiredThe ref update request could not be completed because the user lacks write permissions required to write this ref

Show: