Page 1 of 1

Provide tree view/flat view button in Git History window

Posted: Thu Jul 23, 2020 2:29 am
by chrispitude
We're having issues with users committing files in directories that aren't their area of work. It would be great to have a "tree view"/"flat view" setting in the Git History file list, similar to the buttons in the Git Staging view.

Perhaps the button could go at the top of the History window, next to the Refresh button?

Re: Provide tree view/flat view button in Git History window

Posted: Thu Jul 23, 2020 8:58 am
by alex_jitianu
Hi Cris,

A tree mode will make it easier for you to scan the commits and identify one of those offending commits, right? I will add an issue for this. I can't see another place where we could put this action other than the view's toolbar where the Refresh button currently is.

Best regards,
Alex

Re: Provide tree view/flat view button in Git History window

Posted: Thu Jul 23, 2020 9:11 am
by alex_jitianu
Hi Cris,

By the way, if your files are available in the Project view, you can invoke the Show History action on a specific directory. The view will then presents just those commits that changed something in that particular directory. It might help you with the detective work.

Best regards,
Alex

Re: Provide tree view/flat view button in Git History window

Posted: Thu Jul 23, 2020 12:27 pm
by chrispitude
alex_jitianu wrote: Thu Jul 23, 2020 9:11 amBy the way, if your files are available in the Project view, you can invoke the Show History action on a specific directory. The view will then presents just those commits that changed something in that particular directory. It might help you with the detective work.
Hi Alex,

This is a useful feature too - I'll try it, thank you!