Elijah Newren
Elijah Newren
Oddly enough, I added this functionality to bfg-ish (with the flag --filter-content-including), but never circled back around and added it to git-filter-repo. Does bfg-ish (from contrib/filter-repo-demos/) work for you? I...
Yes. But there is one other slight difference: if you are using replacement strings, bfg-ish uses $1, $2, etc. for replacement strings whereas filter-repo uses \1, \2, etc. The reason...
I implemented a new flag for filter-repo to handle this over in two commits on the [replace-text-limited-to-certain-files branch](https://github.com/newren/git-filter-repo/commits/replace-text-limited-to-certain-files). This does the basic work and has tests, but there's a couple...
From https://docs.python.org/3/library/re.html: > '\u', '\U', and '\N' escape sequences are only recognized in Unicode patterns. In bytes patterns they are errors. Unknown escapes of ASCII letters are reserved for future...
I don't understand the setup. What's the `git mv Dir1 Dir2` portion of your command attempting to do. Was that meant to be on a different line? What directories are...
Interesting case. Here, filter-repo writes out five commits to fast-import, but due to the pruning of commit with commit message "0", two of the commits happen to exactly duplicate two...
Does this presume you are deleting files stored in LFS? And that you have git lfs installed? Not sure if that makes sense to run in general. I think this...
Thanks, but why did you think you should install it with a `.py` ending? git-filter-repo should be recorded exactly as its name says: as `git-filter-repo`. Not as `git-filter-repo.py`. Anyway, there...
Hi, The note that Windows stupidly suggests an unrelated extension is good information; thanks for reporting it. It does sound like something we should address. In your current pull request,...
Hey, not sure if I lost you. I tried putting together an example of what I had in mind over at https://github.com/newren/git-filter-repo/commit/436b83ea1433b4ca754f4f96990f5d2c6d73dcc0; it incorporates the improvements you suggest (people can...