mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-09-13 21:21:17 +00:00
Show detached head in the commit list
https://bugzilla.gnome.org/show_bug.cgi?id=720729
This commit is contained in:
parent
6c5ee093d3
commit
c1757df037
|
@ -185,6 +185,11 @@ namespace GitgHistory
|
|||
|
||||
return 0;
|
||||
});
|
||||
|
||||
if (repo.is_head_detached())
|
||||
{
|
||||
d_all.prepend(repo.get_head());
|
||||
}
|
||||
} catch {}
|
||||
|
||||
d_all.reverse();
|
||||
|
|
Loading…
Reference in a new issue