Daniel Stephens
Daniel Stephens

Reputation: 3219

Disabling git packing in libgit2

I am using libgit2 and try to find a way to disable packing/zipping of git objects. Does git or libgit have a configuration to completely disable that?

In specific, I would need a full copy of the commited object in the ./git/objects directory.

Any help is highly appreciated!

Upvotes: 0

Views: 200

Answers (1)

Philippe
Philippe

Reputation: 31147

I don't think you can disable packing and zipping of git objects because that's the core way git works.

But libgit2 have something that is called custom object backend that allows you to write your own way to store the files.

Upvotes: 2

Related Questions