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

fixup git reset helper to use checkout when file resets are requested #1326

Merged
merged 1 commit into from Jul 24, 2016

Conversation

baronfel
Copy link
Contributor

This fixes #1136 by making the reset helper conditionally use checkout under the covers. it will only do this if a file is specified, which is in line with the usages of git reset. reset only takes a file path in the case where you are not doing a soft, hard, or mixed reset to a ref.

I also added an explicit open to the Fake.Git.CommandHelper module to make it easier to use this module by sending it to FSI. This also has the nice side effect of more accurately tracing dependencies across Fake modules.

@forki forki merged commit f81bac1 into fsprojects:master Jul 24, 2016
@forki
Copy link
Member

forki commented Jul 24, 2016

thanks

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