Re: On blame/pickaxe

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: <git@...>
Date: Monday, October 16, 2006 - 7:45 pm

Junio,

Excellent write up.  Comments inline:

--- Junio C Hamano <junkio@cox.net> wrote:

Stopping early -- that's good.


Do you handle the case where a merge had a conflict and
the user changed the code (resolved) and then committed?
In this case some lines will have to be blamed on the
merge commit itself.


How about move-and-edit scenario?  Wouldn't that make the algorithm
somewhat complicated if we wanted to properly describe (blame)
move-and-edit?  Or are you going to detect only simple hunk-moves?


Here I see a lot of _arbitration_ in the form of "choose a good
value for N and a good value for M".

Is it possible that we do away with such "user" arbitration,
and instead find an algorithm that solves every case...? Even
if we have to go back to a simpler "blame".

I'm concerned that with "user" arbitration, there would always
be at least one corner case for which the "setting-on-the-knobs"
would fail.


Indeed.

    Luben

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
On blame/pickaxe, Junio C Hamano, (Thu Oct 12, 9:43 pm)
Re: On blame/pickaxe, Luben Tuikov, (Mon Oct 16, 7:45 pm)
Re: On blame/pickaxe, Junio C Hamano, (Tue Oct 17, 5:03 am)
Re: On blame/pickaxe, Petr Baudis, (Sun Oct 15, 10:21 pm)
Re: On blame/pickaxe, Junio C Hamano, (Mon Oct 16, 2:43 am)
Re: On blame/pickaxe, Josef Weidendorfer, (Mon Oct 16, 10:02 am)
Re: On blame/pickaxe, Andy Whitcroft, (Mon Oct 16, 10:15 am)
Re: On blame/pickaxe, Petr Baudis, (Mon Oct 16, 8:44 pm)
Re: On blame/pickaxe, Junio C Hamano, (Fri Oct 20, 11:20 pm)
Re: On blame/pickaxe, Junio C Hamano, (Sat Oct 14, 6:26 am)
Re: On blame/pickaxe, Junio C Hamano, (Sat Oct 14, 7:43 pm)
Re: On blame/pickaxe, Junio C Hamano, (Fri Oct 13, 3:54 am)