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

Add support for specifying Git working dir #474

Open
heyblinken opened this issue Apr 18, 2016 · 0 comments
Open

Add support for specifying Git working dir #474

heyblinken opened this issue Apr 18, 2016 · 0 comments

Comments

@heyblinken
Copy link

Can you please add support to be able to optionally pass in the desired Git working directory instead of automatically determining it? I am writing a plugin that allows you to double click on the hash from your "Git Log Graph" scratch window, which then will show a popup of various other git commands you can run. The issue occurs because i have git repos inside of the parent repo ( child repos are ignored in parent repo ) and if i run any of your git commands when on the "Git Log Graph" view when it was generated from one of the child git repos, it will use the parents working dir instead of the childs git repo cwd.

example:
self.view.run_command( "git_add_choice" , { "working_dir":<child_cwd> } )

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

No branches or pull requests

1 participant