Why is DAG not integrated into Cola?

70 views
Skip to first unread message

Shriramana Sharma

unread,
Jul 15, 2018, 3:59:14 AM7/15/18
to git-cola
Hello. I'm looking for a slicker alternative to Gitk and looking into Git Cola, but the absence of of the history in the main app is a serious turn off for me. Can anyone explain please why the history is provided by the separate app Dag and not integrated into the same app like in Gitk? (And what does Dag mean anyway?)

林博仁

unread,
Jul 25, 2018, 10:50:58 AM7/25/18
to git-cola

Shriramana Sharma於 2018年7月15日星期日 UTC+8下午3時59分14秒寫道:
(And what does Dag mean anyway?)
 

I do hope the DAG view can be integrated in Cola as a widget though.

David Aguilar

unread,
Jul 26, 2018, 2:59:41 AM7/26/18
to 林博仁, git-cola
I've always been more unixy-minded in wanting to keep them separate,
and special-purposed. We did already budge on that by allowing the
file browser to be docked, though.

The reason we don't have the file browser docked by default is that it
uses a bunch of resources in the beginning when it's querying history
for each visible file. The DAG also has overhead, which is why I
preferred having it separate -- startup time is important.

The View->DAG menu item already exists ~ in that sense it's already
integrated. Do you mean that you'd like it to be dockable into the
main UI like the other tools? If so, it wouldn't be enabled by
default, and you'd have to configure to enable it (just like the
cola.browserdockable feature).

Grepping for the places where cola.browserdockable is used will reveal
the spots to change to enable that feature, in case anyone wants to
give it a stab. Otherwise, please feel free to submit a feature
request since it should be fairly straightforward to add.

cheers,

David
Reply all
Reply to author
Forward
0 new messages