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
feat: add dot command to GitUICommands #9140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seem ok
The normal way is to use "browse " or "gitex.cmd "
3f86717
to
3a537fd
Compare
@gerhardol I have added the suggested changes. Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The normal way is to use "browse " or "gitex.cmd "
So if we start to support ".", why not any path?
I don't know the rationale why the usage of browse
was forced when the CLI was designed.
738dc57
to
ff63360
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MrJithil, file another PR with your sign off in contributors.txt
, please.
IntegrationTests/UI.IntegrationTests/GitUICommands/RunCommandTests.cs
Outdated
Show resolved
Hide resolved
ff63360
to
8e935a4
Compare
8e935a4
to
f3e8ca3
Compare
@mstv @gerhardol @RussKie I have implemented the suggestion to take care Please see the evidence here. Kindly review, approve and merge if you are okay to proceed. Please feel free to revert back in case of any additional suggestions. New Evidence: Video.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me 👍
1f5a8d1
to
e4ffc7e
Compare
49a2fa0
to
04c2901
Compare
04c2901
to
0bf11a1
Compare
Please squash and it is ready to go. |
feat: handle path as param resolved review comment re factored the code to use `LaunchBrowse` in detached mode. removed integration tests since we decided to proceed with detached form added file supports too for path param replaced args[1] with command
0bf11a1
to
528f3b8
Compare
Thank you |
Fixes #
Proposed changes
private
function to handle the.
command in this pull request. For Eg: If a user wants to open their current repository in GitExtensions, he should trigger the commandGitExtensions .
Screenshots
Before
A user needs to enter different commands to open his current repository.
GitExtensions browse .
is an example.After
By these changes, a user can open the repository in GitExtensions by just triggering the command
GitExtensions .
TODO
Need documentation for this command once this PR got sufficient approvals.
Test methodology
Test environment(s)
✒️ I contribute this code under The Developer Certificate of Origin.