[gitg/wip/techlivezh/show-detached-head: 10/10] Show detached head in the commit list



commit 0c34061e637b7dbebabe8f78ac18d897ad0a5af0
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Tue Dec 10 18:18:00 2013 +0800

    Show detached head in the commit list
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720729

 gitg/history/gitg-history-navigation.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitg/history/gitg-history-navigation.vala b/gitg/history/gitg-history-navigation.vala
index 621c99c..b563b0d 100644
--- a/gitg/history/gitg-history-navigation.vala
+++ b/gitg/history/gitg-history-navigation.vala
@@ -185,6 +185,8 @@ namespace GitgHistory
 
                                        return 0;
                                });
+
+                               d_all.prepend(repo.get_head());
                        } catch {}
 
                        d_all.reverse();


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