]> www.infradead.org Git - users/dedekind/aiaiai.git/commit
git-find-base: rewritten to use newer design
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 4 Apr 2014 22:06:52 +0000 (15:06 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 7 Apr 2014 10:20:02 +0000 (13:20 +0300)
commit2e61508db63a8a523cad78a931782e938d05eb9a
tree41f6a29996f0c4cd90235b3f7601f18855d1d923
parent00f5aa1988db9671c6958ab6683f10ec4c66725a
git-find-base: rewritten to use newer design

Instead of just checking a few extra headers, add support for all header
types that git can output, and be a bit more robust about renames and
deletes. For now, assume a rename won't attempt to overwrite an existing
file.. Ideally we should do a full check on the base as well..

This model should allow support of all git commit types, not just simple
ones. In addition, in order to allow a certain patch format, we add an
option to remove duplicates. Do it by default, but enable option to keep
duplicate diff chunks. Primarily useful for patches which contain both
an inline and attachment.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
helpers/git-find-base