Skip to content

Is there a way to tell which files were actually removed by --strip-blobs-bigger-than? #558

Closed Answered by me-and
samal-rasmussen asked this question in Q&A
Discussion options

You must be logged in to vote

If you run git rev-list --all --objects --filter=object:type=blob, this will list all files in a repository, throughout its history, with both the file hash and the path. That means you can run that command before and after running your git filter-repo command, and compare the output; you should find that the only changes are the files that have been deleted are not listed in the rewritten repository.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by newren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants