gitextensions / gitextensions.vsix

Visual Studio extensions for Git Extensions
MIT License
16 stars 8 forks source link

add option for "folder history" #17

Closed pavlexander closed 2 years ago

pavlexander commented 3 years ago

Hello,

request

In GitExtensions stand-alone application you could click on a folder, click the view history and you will be presented with folder related commits:

image

image

Using the CLI the result is achieved by executing following command: gitex filehistory XXX\Client. where the last part of the path is the folder, instead of filename.

Nothing like this is currently exists in VSIX. We have an option to select an item in solution explorer and then clicking on File history option in extension, but this will show the history of the selected file. The logic does not work for folders.

example: view file history

image

image

image

main problem showed

If you were to click on a folder and try to do the same:

image

you wouldn't event be able to check the history at all:

image

sub-problem: can't view history for top-level items

In addition to this - I can report few other issues with the extension. Seems like for solution "top-level" items it's impossible to view the history:

image

image

sub-problem: .csproj file history triggers .sln file history instead

image

The history is opened for .sln instead:

image

sub-problem: uncertain purpose of view changes function

Lastly, it is not clear what view changes function does:

image

It always shows the whole history of changes in whole repository, regardless of what item you select in solution explorer.. I propose to either remove it or rename it.

So to summarize:

  1. Please implement the folder history command. It should be applicable to "Solution", "Projects", and "folders" of projects.
  2. Fix the .csproj file history view functionality.
  3. Fix the solution's top-level items view history functionality.
  4. Rename or remove or fix view changes function depending on what it's supposed to do.

Most of the problems described here must be related to the same functionality (same CLI command, except for 4.), so I grouped them together, but if you were to select only 1 complaint from this issue - please fix the "folder history" functionality in VS :)

Thank you.

Environment