diff options
author | Keith Dahlby <dahlbyk@gmail.com> | 2012-06-09 08:57:04 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-06-09 14:17:20 +0400 |
commit | a5ffcb3e6ad435017ab01be0a16599b7c9daeb87 (patch) | |
tree | db566cb3e4abf73f7e22a1dd0eb40127e19a58d6 /LibGit2Sharp/ContentChanges.cs | |
parent | b60f21bf5f3a431d924a91c99fc80459e5c18e83 (diff) |
Replace Changes.PatchBuilder with AppendToPatch()
Diffstat (limited to 'LibGit2Sharp/ContentChanges.cs')
-rw-r--r-- | LibGit2Sharp/ContentChanges.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/LibGit2Sharp/ContentChanges.cs b/LibGit2Sharp/ContentChanges.cs index 886ec626..1d5466c7 100644 --- a/LibGit2Sharp/ContentChanges.cs +++ b/LibGit2Sharp/ContentChanges.cs @@ -27,7 +27,7 @@ namespace LibGit2Sharp return 0; } - PatchBuilder.Append("Binary content differ\n"); + AppendToPatch("Binary content differ\n"); return 0; } @@ -36,7 +36,7 @@ namespace LibGit2Sharp { string decodedContent = Utf8Marshaler.FromNative(header, headerlen); - PatchBuilder.AppendFormat("{0}", decodedContent); + AppendToPatch(decodedContent); return 0; } @@ -67,7 +67,8 @@ namespace LibGit2Sharp break; } - PatchBuilder.AppendFormat("{0}{1}", prefix, decodedContent); + AppendToPatch(prefix); + AppendToPatch(decodedContent); return 0; } } |