Nodegit: Is git-lfs supported?

Created on 20 Feb 2016  路  9Comments  路  Source: nodegit/nodegit

Is it supported and if not, will it ever be?

Will implement later

Most helpful comment

Not trying to come across as pushy but is there any progress on 'eventually' yet? :P <3

All 9 comments

It is currently not supported but it will eventually.

Yeah, i know libgit2 supports clean/smudge filters, which is what lfs uses (was added by microsoft IIRC? specifically for lfs support for tfs-online i think).

Not trying to come across as pushy but is there any progress on 'eventually' yet? :P <3

+n

+n

+n

+n

My guess is if people want this supported, asking the Git-LFS team to add a normal C API interface instead of just a CLI one will solve the problem. The CLI interface was designed to work with Git-Core and nothing else. If you want it to run with libgit2, it needs to function in kind. This is my personal experience with it.

There appears to be a package that integrates nodegit with git-lfs. It uses a spawned child process, but for those looking for something, it might help:

https://yarnpkg.com/en/package/nodegit-lfs

Was this page helpful?
0 / 5 - 0 ratings