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

multiple word commands in filter are not working #2

Open
mbaraban opened this issue May 22, 2018 · 1 comment
Open

multiple word commands in filter are not working #2

mbaraban opened this issue May 22, 2018 · 1 comment

Comments

@mbaraban
Copy link

Example:

incremental-git-filterbranch src "--commit-filter 'git commit-tree "$@"'" dst

Invalid syntax in filter (unknown option: commit-tree)

commit-filter for example requires passing $@ down

@mbaraban
Copy link
Author

mbaraban commented May 24, 2018

It may be a good idea to rearrange arguments like this:

 <sourcerepository> <destinationrepository>  <filter> [<filter args>]

and pass filter and filter args directly to git filter-branch

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

1 participant