Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] LFS



I know that SAP lost interest in LFS – but I did not ;) I picked up this commit: and rebased to somewhere on 4.8.1 which we are using. I then registered the filters in EGit Activator something like done in


I also managed to setup a test repo with this .gitattributes:


$ cat .gitattributes

*.lfs.txt filter=lfs diff=lfs merge=lfs -text


And this .git/config:


$ cat .git/config


                repositoryformatversion = 0

                filemode = true

                logallrefupdates = true

[filter "lfs"]

                clean = jgit://builtin/lfs/clean

                smudge = jgit://builtin/lfs/smudge

                required = true


I successfully test local commits, and verified that the LFS pointers are the actual git objects as expected.


There are couple of questions for me now:


·         Apart from the mentioned two commits, is there anything “big” open? Or is it just finalization of what’s there? For instance I cannot see any “upload” code? Where would that go?

·         It seems the repository is now no longer usable with CGIT (“error: external filter jgit://builtin/lfs/clean failed”). Is there a way to make a repository usable with CGIT and JGIT?

·         Anything else noteworthy if I’d like to pick this up from the floor?


Thanks in advance,




Mit freundlichen Grüßen / Best regards


Markus Duft | Software Architect

SSI SCHÄFER | SSI Schäfer IT Solutions GmbH | Friesachstraße 15 | 8114 Friesach bei Graz | Austria

Phone +43 3127 200-575 | Fax +43 3127 200-22


Website | Blog | YouTube | Facebook


SSI Schäfer IT Solutions GmbH | Friesachstrasse 15 | 8114 Friesach | Austria
Registered Office: Friesach | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz

Back to the top