[gitg] Fix getting correct parent for merge diff
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fix getting correct parent for merge diff
- Date: Sun, 14 Dec 2014 18:20:47 +0000 (UTC)
commit e498031dff76586416662c2611e46210fed0038a
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Dec 14 19:17:00 2014 +0100
Fix getting correct parent for merge diff
libgitg/gitg-commit.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/gitg-commit.vala b/libgitg/gitg-commit.vala
index 2f16aa2..47f1fe3 100644
--- a/libgitg/gitg-commit.vala
+++ b/libgitg/gitg-commit.vala
@@ -133,7 +133,7 @@ public class Commit : Ggit.Commit
{
for (var i = 0; i < parents.size; ++i)
{
- var parent = parents.get(0);
+ var parent = parents[i];
if (i == 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]