After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577706 - Display history of a subpath/subtree
Display history of a subpath/subtree
Status: RESOLVED OBSOLETE
Product: gitg
Classification: Applications
Component: gui
git master
Other All
: Normal enhancement
: ---
Assigned To: gitg-maint
gitg-maint
: 755461 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-02 11:12 UTC by Guilhèm Bonnefille
Modified: 2018-05-22 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guilhèm Bonnefille 2009-04-02 11:12:52 UTC
I wish to be able to browse history of a subtree of the project. For example, I wish to explore the history of a specific file.
Comment 1 Guilhèm Bonnefille 2009-04-02 11:21:13 UTC
I started stuff around this idea in a topic branch. It is publicly available at http://github.com/guyou/gitg/tree/path-filtering

The idea is that the branches combo-box and the path entry are filters. Something similar to the filtering scheme of 'evolution' mail application.

Screenshot: http://picasaweb.google.fr/lh/photo/M6droAWwIdDaJahcO9c68A?feat=directlink
Comment 2 Guilhèm Bonnefille 2009-10-11 19:28:00 UTC
Topic branch merged against v0.0.5.
Comment 3 jessevdk@gmail.com 2010-01-14 11:34:34 UTC
I really like this functionality, I'm just not so sure about the UI. I'd prefer not to have just an entry to type in a path. Ideally you would be able to browse the tree, or have a completion entry to complete a path. Also, it would be nice to be able to filter multiple paths/files?

I'm not really sure about what UI would be best for this (easy to use, but still compact). I don't want to have a dialog popup or anything. Maybe someone has a good idea for this?
Comment 4 Guilhèm Bonnefille 2010-01-14 13:29:40 UTC
Yes, I'm not a good UI designer :-)

But such UI seems quite "standard". Rythmbox as such filter.
Concerning the "completion", the matter is to select a commit to look for tree.

One idea I had (but not realized yet): right click a directory/file in the "Tree" sub-tab and select a hypothetical "Filter" entry. Doing this, it just filter the whole history.
Comment 5 jessevdk@gmail.com 2010-01-14 22:28:03 UTC
Anyway, if you want to have an entry like thing, I think it's better fitted in the search entry that's already there. It could have a completion for the tree, it could be quite nice.
Comment 6 Guilhèm Bonnefille 2010-01-16 21:13:42 UTC
Two thoughs.

First, I'm not sure fixing filtering feature and searching feature is good for UI.

Second, I think that current search feature need something more standard: a dialog with search string + Next/Prev buttons. Doing this, we can *replace* the search entry by a filter entry.
Comment 7 jessevdk@gmail.com 2010-01-17 00:20:37 UTC
A search dialog is not that standard, and dialogs are evil UI. Instead I want to improve the searching by filtering the tree view like other applications. The search entry has a very natural location and I will not likely change this.
Comment 8 Sindhu S 2013-06-11 16:47:48 UTC
Built Gitg from wip/development branch (master build as of now does not contain fix for recent updated bindings in libgit2-glib and libgit2) and I can confirm that the search *has* been implemented for dash view but *not* for history view.

Changing status to NEW.
Comment 9 Alexandre Franke 2017-09-30 20:00:11 UTC
*** Bug 755461 has been marked as a duplicate of this bug. ***
Comment 10 GNOME Infrastructure Team 2018-05-22 13:01:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gitg/issues/3.