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

Specify branch / commit instead of using HEAD for diff #238

Open
orangethunder opened this issue May 10, 2017 · 1 comment
Open

Specify branch / commit instead of using HEAD for diff #238

orangethunder opened this issue May 10, 2017 · 1 comment

Comments

@orangethunder
Copy link

I'm busy thinking about doing a pull request for this, but just need some general advice.

Is this a desirable feature? I may have missed something that already allows for this. It's very useful for me to be able to run pronto without checking out a branch first.

I'm thinking this would be the parameter:

    method_option :source_commit,
                  type: :string,
                  default: 'HEAD',
                  aliases: '-s',
                  desc: 'Source commit for the diff'

Then I could pass something like "origin/my_new_feature".

@mmozuras
Copy link
Member

It's very useful for me to be able to run pronto without checking out a branch first.

@orangethunder we don't want to bloat Pronto too much. So before considering adding this feature, could you tell more about the use case? 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants