GitSharp.PushCommand.printUpdateLine C# (CSharp) Method

printUpdateLine() private method

private printUpdateLine ( char flag, string summary, string srcRef, string destRef, string message ) : void
flag char
summary string
srcRef string
destRef string
message string
return void
        private void printUpdateLine(char flag, string summary, string srcRef, string destRef, string message)
        {
            OutputStream.Write(" " + flag + " " + summary);

            if (srcRef != null)
                OutputStream.Write(" " + AbbreviateRef(srcRef, true) + " -> ");
            OutputStream.Write(AbbreviateRef(destRef, true));

            if (message != null)
                OutputStream.Write(" (" + message + ")");

            OutputStream.WriteLine();
        }