Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileHistory: Launch commandline in FormBrowse #9788

Merged
merged 2 commits into from Jan 5, 2022

Conversation

gerhardol
Copy link
Member

#9445 uses the FormBrowse for displaying file history
(by default, configurable with AppSettings.UseBrowseForFileHistory).
FormFileHistory is deprecated.

However, command line invocation of filehistory still used FormFileHistory,
not using the setting. This is needed for all 'external' use like
Explorer and Visual Studio.

Screenshots

FormBrowse with path filter is opened instead of FormFileHistory

Test methodology

Tests are adopted to run with FormFileHistory, same as today.
There are other tests already for FormBrowse.

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

gitextensions#9445 uses the FormBrowse for displaying file history
(by default, configurable with AppSettings.UseBrowseForFileHistory).
FormFileHistory is deprecated.

However, command line invocation of filehistory still used FormFileHistory,
not using the setting. This is needed for all 'external' use like
Explorer and Visual Studio.
@ghost ghost assigned gerhardol Jan 2, 2022
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

GitUI/GitUICommands.cs Outdated Show resolved Hide resolved
GitUI/GitUICommands.cs Outdated Show resolved Hide resolved
GitUI/GitUICommands.cs Outdated Show resolved Hide resolved
@gerhardol gerhardol merged commit 50de7c5 into gitextensions:master Jan 5, 2022
@ghost ghost added this to the vNext milestone Jan 5, 2022
@gerhardol gerhardol deleted the feature/i9445-filehistory branch January 5, 2022 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants