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

build 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

#332 in Build Utils

Download history 30/week @ 2024-07-27 1/week @ 2024-08-03 7/week @ 2024-09-21 1/week @ 2024-09-28

54 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

~14MB
~298K SLoC