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

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

#563 in Build Utils

Download history 1/week @ 2025-10-20

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

~15MB
~313K SLoC