[gitg] Use commit to get tree



commit 15dea3e3ce926624799f1e13b42c9a1718d3a9e5
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Mon Jul 1 10:32:11 2013 +0200

    Use commit to get tree

 plugins/files/gitg-files.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/files/gitg-files.vala b/plugins/files/gitg-files.vala
index 88f0dd7..ccbbc99 100644
--- a/plugins/files/gitg-files.vala
+++ b/plugins/files/gitg-files.vala
@@ -74,7 +74,7 @@ namespace GitgFiles
                {
                        history.foreach_selected((commit) => {
                                d_whenMapped.update(() => {
-                                       d_model.tree = c.get_tree();
+                                       d_model.tree = commit.get_tree();
                                }, this);
 
                                return false;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]