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 --allow-empty flag to merge command #222

Merged
merged 2 commits into from
Mar 21, 2019
Merged

Add --allow-empty flag to merge command #222

merged 2 commits into from
Mar 21, 2019

Conversation

UnsafePointer
Copy link
Contributor

Should fix #205

@mikefarah
Copy link
Owner

Looks great! Can you please add a test though, take a look at commands_test.go should be straight forward :)

@UnsafePointer
Copy link
Contributor Author

@mikefarah thanks for the review, I completely missed the commands_test.go file.

I added the test you requested.

@mikefarah mikefarah merged commit 23543ee into mikefarah:master Mar 21, 2019
@mikefarah
Copy link
Owner

Awesome thanks @Ruenzuo - I'll get a release out asap

@mrthehud
Copy link

Has this flag been removed in v3?

@tellmeaboutcode
Copy link

@mikefarah Is --allow-empty no longer supported?

@ggerritsen
Copy link

ggerritsen commented Sep 1, 2020

@shravanvarma @mrthehud: looking at the code it seems that the --allow-empty flag was indeed removed, and assumed to be true by default.

@mikefarah
Copy link
Owner

Yeah - there was no reason that I could see not to always allow empty merges

@yannick-roeder
Copy link

@mikefarah Has this been removed in v4?

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.

How to allow silent merging of empty yaml files
6 participants