Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Apply patch to tree

Hi all,

I'm looking for a way to apply unidiff patches directly to a repository.
ApplyCommand updates the working tree and could serve as the start of a
solution for non-bare repositories, but it will not work for bare
repositories. Ideally, I would like to have a way of constructing a new
tree based on a given tree and a patch. Am I overlooking anything in the
jgit API that would allow me to do this? If not, does anyone have any
tips for how to approach this? Would patches in this direction be
something you would consider accepting -- or is anyone already working
on this?

All best,

Back to the top