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 option to choose branch to merge (not just master) #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

adrian1001
Copy link

Features

  • Added an optional, third column to the input file where the branch to be merged can be specified (split_line() needed adaption for this)

Fixes

  • filter-branch aborted on empty commits; fixed by pruning empty commits first

@adrian1001
Copy link
Author

Just realized that @robkub ran into the same problem (filter-branch failing on empty commits).
His/her solution seems better though - my approach is just a workaround.

For demonstration:
Try to merge https://github.com/adrian1001/test-repo-empty-commit with your version of git-join-repos: Fails with "mv: cannot stat '.git-rewrite/t/../index.new': No such file or directory"

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.

1 participant