Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement filter-branch as a method with callback #646
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to be able to
filter-branch
inside python instead of having to create bash scripts at runtime and then pass them to get lowlevel git wrapper.My use case: I want to be able to rewrite authored dates of commits, which is done with
filter-branch
, but I don't want to generate bash scripts (aka, I want to keep everything python-only).PS: If there is a way I can rewrite authored dates using only git-python I'd like to hear it.