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

Analyze changes in git index using "-i" option #40

Merged
merged 1 commit into from Oct 27, 2014
Merged

Analyze changes in git index using "-i" option #40

merged 1 commit into from Oct 27, 2014

Conversation

splattael
Copy link
Contributor

Hi,

I could not find a way to run pronto on the staging area so I added -i option.

What do you think?

Note: I couldn't find specs neither for Pronto::Git::Repository nor for Pronto::CLI so I did not add more specs :( Sorry for that!


After this commit you can run pronto on your current
staging area (git index).

This way you can analyze before you commit.

Usage:

pronto run -i

@mmozuras
Copy link
Member

@splattael sounds like a good idea, just let me ruminate on the option name for a day 😄

@mmozuras
Copy link
Member

@splattael could you add an entry to CHANGELOG.md?

Add '--index' option for 'pronto run'.

After this commit you can run pronto on your current
staging area (git index).

This way pronto analyzes changes _before_ committing.

Usage:

    pronto run -i
@splattael
Copy link
Contributor Author

@mmozuras Done.

@mmozuras
Copy link
Member

@splattael cool, thanks! 😄

mmozuras added a commit that referenced this pull request Oct 27, 2014
Analyze changes in git index using "-i" option
@mmozuras mmozuras merged commit 99147b2 into prontolabs:master Oct 27, 2014
@splattael
Copy link
Contributor Author

@mmozuras Thanks for merging 💚

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