Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Betts <paul@paulbetts.org>2013-04-24 03:28:47 +0400
committernulltoken <emeric.fermas@gmail.com>2013-04-24 21:32:07 +0400
commit2dd033f75d172e3a96b41994c04a3714b973ace0 (patch)
tree69a1b7093f1534b23a5b995f9d28e226eb128413 /LibGit2Sharp/Repository.cs
parentb448cf015fb1def0856b701ae9582331172f3656 (diff)
Reflog entries can't be >1 line
Fix #408
Diffstat (limited to 'LibGit2Sharp/Repository.cs')
-rw-r--r--LibGit2Sharp/Repository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs
index e79a8267..301b715b 100644
--- a/LibGit2Sharp/Repository.cs
+++ b/LibGit2Sharp/Repository.cs
@@ -739,7 +739,7 @@ namespace LibGit2Sharp
reflogMessage += " (amend)";
}
- reflogMessage = string.Format("{0}: {1}", reflogMessage, commit.Message);
+ reflogMessage = string.Format("{0}: {1}", reflogMessage, commit.MessageShort);
var headRef = Refs.Head;