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
10.84k stars 535 forks source link

bfg-repo-cleaner missed several files when migrating to LFS. #432

Open wrenashe opened 3 years ago

wrenashe commented 3 years ago

I am trying to migrate an old gitlab repository to support LFS by bfg-repo-cleaner by following https://docs.gitlab.com/ee/topics/git/lfs/migrate_to_git_lfs.html

 git clone --mirror ssh://git@usalvlpaiute:10022/c2/cl2-lfs.git
 cd cl2-lfs.git/
 git remote -v
 java -jar /work/bfg-1.14.0.jar --no-blob-protection --convert-to-git-lfs "{*.jar,*.war,*.class,*.pdf,*.doc,*.docx,*.ppt,*.pptx,*.xls,*.xlsx,*.so,*.sl,*.a,*.dll,*.DLL,*.lib,*.LIB,*.ilk,*.pdb,*.sdf,*.tar.gz,*.tgz,*.tar.Z,*.zip,*.box,*.smatdb,*.elogdb,*.db,*.exe,*.EXE,*.msi,*.bin}"
: 
:

After migration is done, I moved to another location to do a fresh git pull, I got something like,

Encountered 77 file(s) that should have been pointers, but weren't:
        baa/ws/.../sign_enc/target/classes/org/apache/cxf/hello_world_soap_http/types/package-info.class
:

In the same folder, other .class files have been successfully converted. I wonder where I can get the log or debug information to help me to fix this.

Thanks,

Tao