GitSharp.Core.Transport.RemoteRefUpdate.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            return "RemoteRefUpdate[remoteName=" + RemoteName + ", " + Status
                   + ", " + (ExpectedOldObjectId != null ? ExpectedOldObjectId.Abbreviate(_localDb).name() : "(null)")
                   + "..." + (NewObjectId != null ? NewObjectId.Abbreviate(_localDb).name() : "(null)")
                   + (FastForward ? ", fastForward" : string.Empty)
                   + ", srcRef=" + SourceRef + (ForceUpdate ? ", forceUpdate" : string.Empty) + ", message=" +
                   (Message != null
                        ? "\""
                          + Message + "\""
                        : "null") + ", " + _localDb.Directory + "]";
        }