Re: [[PATCH v2] 0/4] Use header data patch ids for rebase to avoid loading file content

2 messages, 2 authors, 2016-08-01 · open the first message on its own page

Re: [[PATCH v2] 0/4] Use header data patch ids for rebase to avoid loading file content

From: Junio C Hamano <hidden>
Date: 2016-07-29 20:22:30

Kevin Willford [off-list ref] writes:
This patch series is to remove the hand rolled hashmap in the patch_ids
and use the hashmap.h implementation.  It also introduces the idea of having
a header only patch id so that the contents of the files do not have to be
loaded in order to determine if two commits are different.
Subject: Re: [[PATCH v2] 0/4] Use header data patch ids for rebase to avoid loading file content
Did you do "format-patch --subject-prefix='[PATCH v2]'" or something
like that?  When applied, that would result in a commit title like
this:

	1/4] patch-ids: stop using a ...

because we stop at the first ']', and we do not bother to count up
to "matching bracket".

    git format-patch --subject-prefix='PATCH v2'

or even better

    git format-patch -v2

would have been more appropriate.

Re: [[PATCH v2] 0/4] Use header data patch ids for rebase to avoid loading file content

From: Johannes Schindelin <hidden>
Date: 2016-08-01 09:01:40

Hi Junio,

On Fri, 29 Jul 2016, Junio C Hamano wrote:
Kevin Willford [off-list ref] writes:
quoted
This patch series is to remove the hand rolled hashmap in the patch_ids
and use the hashmap.h implementation.  It also introduces the idea of having
a header only patch id so that the contents of the files do not have to be
loaded in order to determine if two commits are different.
quoted
Subject: Re: [[PATCH v2] 0/4] Use header data patch ids for rebase to avoid loading file content
Did you do "format-patch --subject-prefix='[PATCH v2]'" or something
like that?
This is my fault, sorry, I suggested this usage (misremembering the
semantics because I only use my mail-patch-series.sh helper and never use
format-patch manually anymore).
    git format-patch --subject-prefix='PATCH v2'

or even better

    git format-patch -v2

would have been more appropriate.
Oooh, I did not know about the latter form. Nice.

Thanks,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help