rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
11.15k stars 551 forks source link

Shell script filtering #165

Open n8gray opened 8 years ago

n8gray commented 8 years ago

First off, the BFG cleaner has been invaluable to me on several occasions now, most recently when we switched one of our repos over to using LFS. Thanks for all your work!

My team would like to apply a formatting tool to our repo to make it look like we've always followed a consistent coding style. BFG seems like just the tool for this, since all we're doing is rewriting blobs independently. Clearly it wouldn't make sense to integrate code reformatting into BFG, so I would love to have an option to run blobs through a shell script. I'm willing to take a swing at implementing this feature myself if somebody can give me some pointers on where to hook things in.

Thanks!

timothywlewis commented 7 years ago

It looks like what you want is in the unmerged PR #213.