From 3d578f5b93203d23c467dbd8ee37139231a69f32 Mon Sep 17 00:00:00 2001 From: Georg Seibt <seibt@fim.uni-passau.de> Date: Thu, 20 Oct 2016 12:17:14 +0200 Subject: [PATCH] Do not store the summary of a commit as its message. --- src/de/uni_passau/fim/seibt/gitwrapper/repo/Repository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/uni_passau/fim/seibt/gitwrapper/repo/Repository.java b/src/de/uni_passau/fim/seibt/gitwrapper/repo/Repository.java index 8a83301..4a03801 100644 --- a/src/de/uni_passau/fim/seibt/gitwrapper/repo/Repository.java +++ b/src/de/uni_passau/fim/seibt/gitwrapper/repo/Repository.java @@ -482,7 +482,7 @@ public class Repository { commitFile = dir.toPath().resolve(Paths.get(lineScanner.nextLine().trim())).toFile(); break; case SUMMARY: - commit.setMessage(lineScanner.nextLine().trim()); // TODO this is NOT the message, it is the summary (first line of the message) + // Skip the summary of the commit as it is just the first line of its message (for which there is a getter). break; case BOUNDARY: // We do not store the information that this commit was the boundary of the 'git blame' call. -- GitLab