#git-repository #patch #git-commit #submodule #set #patch-file #maintain

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

#1 in #patch-file

Download history 8/week @ 2024-02-21 9/week @ 2024-02-28 2/week @ 2024-03-06 4/week @ 2024-03-13 21/week @ 2024-03-27 46/week @ 2024-04-03

67 downloads per month
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

~16MB
~343K SLoC