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

Fail git.latest states with uncommitted changes when force_reset=False #34869

Merged
merged 3 commits into from
Jul 22, 2016

Conversation

terminalmage
Copy link
Contributor

@terminalmage terminalmage commented Jul 22, 2016

Also, discard these changes when running the state if force_reset=True.

Resolves #34725.

@rallytime
Copy link
Contributor

Nice!

@rallytime rallytime merged commit 1ca1367 into saltstack:2015.8 Jul 22, 2016
dschaller pushed a commit to lyft/salt that referenced this pull request Sep 3, 2016
saltstack#34869)

* Add git.diff function

* Fail git.latest states with uncommitted changes when force_reset=False

Also, discard these changes when running the state if force_reset=True.

* Add integration test for case where there are uncommitted changes
@terminalmage terminalmage deleted the issue34725 branch November 30, 2016 03:14
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