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

Allow braid add/update if there is no uncommitted changes in the target path. #49

Open
realityforge opened this issue Feb 1, 2017 · 2 comments

Comments

@realityforge
Copy link
Collaborator

Sometimes a user wants to braid update an existing upstream or braid add a new upstream and if there is no local changes in the local path this should be possible but it is not currently. It may require a little bit of tricky coding and there is the risk that in the case that braid update causes a conflict you may lose your local index but this may be acceptable.

@mattmccutchen
Copy link
Collaborator

This would commit the change to the mirror (and .braids) and leave any other uncommitted changes alone, right? I didn't think of this design; then this feature would become independent of the --no-commit option contemplated in #36.

There should also be no pre-existing uncommitted change to .braids, right?

@realityforge
Copy link
Collaborator Author

Yep on all accounts ;)

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

No branches or pull requests

2 participants