Filtering branch labels in TortoiseGit log window

313 views
Skip to first unread message

jesse...@gmail.com

unread,
Nov 4, 2015, 2:53:49 PM11/4/15
to tortoisegit-users
Hello, 

My first post to TortoiseGit user group.  I was wondering if anyone else would find the following feature useful: Filtering branch labels.

I've used the filtering entry at the top of the log window to enter a filter-string, which limits the commits displayed to those which are pointed to by branches that match the filter.  However, if other branches happen to be pointing to those commits, their labels are still displayed as well.

I also noticed that there is a view button toward the bottom which can has "Labels" that you can enable/disable (local branches, remote branches, tags).   

I would really like to filter the branch labels by a pattern match as well, similar to how working directory files can be filtered. 

It doesn't seem like that is possible at the moment, but I might be missing something.    Anyone else ever have a want/need for this functionality?

Yue Lin Ho

unread,
Nov 4, 2015, 8:49:58 PM11/4/15
to tortoisegit-users, jesse...@gmail.com
Hi jesse...:

jesse...@gmail.com於 2015年11月5日星期四 UTC+8上午3時53分49秒寫道:
This might be helpful.

1. Open Log Message dialog
2. Click the *link* at top-left corner, then show you the Browse references dialog.
3. Filter the branch(enable Refname) in Browse references dialog.
4. Multi-select the branches you want to show, then push OK button.

BTW, right click that "link", you will see the selected branch history list you ever selected.

Yue Lin
 

jesse...@gmail.com

unread,
Nov 5, 2015, 9:14:42 AM11/5/15
to tortoisegit-users, jesse...@gmail.com
Thanks Yue, that is very helpful.  However using the method you describe still has the behavior of showing other branch labels if they happen to point to the same commits that are still shown.  

All of the branch labels I want to filter are remotes (but I don't want to filter ALL remotes, there's a couple that I'm interested in).  I suppose I could also do this at the git level and do a better job of setting up my fetch refspec to only fetch the remotes that I'm really interested in, although my interested varies over time and function and it would be quite cumbersome to be changing the refspec frequently.

Anyway thanks again for the suggestion, and TortoiseGit is awesome!


Reply all
Reply to author
Forward
0 new messages