#git

gitpatcher

A library that uses git to maintain a set of patches around a submodule

5 releases

0.2.3 Oct 11, 2023
0.2.2 Sep 15, 2023
0.2.1 Aug 25, 2023
0.1.2 May 31, 2023
0.1.0 Jun 6, 2020

#220 in #git


Used in gitpatcher-bin

MIT license

63KB
1.5K SLoC

gitpatcher

A rust library that uses git to maintain a set of patch files against a submodule.

Features

  • Uses libgit2 internally
  • The patcher creates a single patch file per commit
  • It automatically adds patch files to the parent repository
    • Internally filters out redundant changes in patches, to avoid committing unnecessary changes

See also

Dependencies

~13MB
~293K SLoC