-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
add --directory option (closes #73) #104
Conversation
Hey @alistaircarscadden thanks for looking into this. I love the simplicity of the solution. It did not even cross my mind to do it like that. I was expecting to have to search and change very place I am using Does it have any downsides to switch the current working directory in your opinion? |
@extrawurst The notable effects are:
I think these are all behaviours we want gitui to have. |
Perfect thanks for clarifying! Any shorter alternative to Can you also add this to the changelog? |
The common short option (used by make and git) would be -C. Make has --directory as a long option. I quite like --in but I don't know of a precedent. :-) |
Yes.
At first glance -C/--directory is a bit dissonant to me, but I'm up for whatever. |
Cool!
I agree. |
Finished, now. |
Thanks so much!❤️ |
No description provided.