]> www.infradead.org Git - users/dedekind/aiaiai.git/commit
git-find-base: add detection for possible duplicate patches
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 31 Mar 2014 22:24:02 +0000 (15:24 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 3 Apr 2014 08:21:34 +0000 (11:21 +0300)
commite640a47db331c9b61f417359e01f3e7d1c706472
treea6e35d116b6f661d990a2d59a3a0687cd4e8eca3
parent5e099e7b9be690fd14e7d8b1ee11611b2f73e7b1
git-find-base: add detection for possible duplicate patches

Some users send a patch which includes both an attachment and inline of
the diff. This confuses git-find-base, because it will see equivalent
patch blobs. If we see the same diff hunk with identical git-index
information, print a warning, and ignore it.

This patch also rewords some of the other warnings to be more consistent
and always show the intial -> modified blobs for possible debugging.

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