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

Callback that gives both filename and blob #549

Open
AlexeyDmitriev opened this issue Mar 13, 2024 · 0 comments
Open

Callback that gives both filename and blob #549

AlexeyDmitriev opened this issue Mar 13, 2024 · 0 comments

Comments

@AlexeyDmitriev
Copy link

AlexeyDmitriev commented Mar 13, 2024

So, I'd like to minimize blobs depending on their type, i.e if file has specific extension, then do something with it, otherwise leave it as is.

it seems I can't, filename-callback allow only removing/renaming file and --blob-callback already loses information on filename

Maybe I can with commit-callback but it seems rather convoluted (and also I didn't quite get how all the fields work)

I would suggest making a --file-callback that will give a blob along with path in the repo. Maybe there's a better solution

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