Thread (16 messages) 16 messages, 4 authors, 2019-01-22

Re: [PATCH v2 2/3] blame: add the ability to ignore commits and their changes

flat view

From: René Scharfe <hidden>
Date: 2019-01-20 18:19:54

Am 17.01.2019 um 21:29 schrieb Barret Rhoden:
The blame_entry will get passed up the tree until we find a commit that
has a diff chunk that affects those lines.  If an ignored commit added
more lines than it removed, the blame will fall on a commit that made a
change nearby.  There is no general solution here, just a best-effort
approach.  For a trivial example, consider ignoring this commit:

Z: "Adding Lines"
 foo
+No commit
+ever touched
+these lines
 bar
Wouldn't it make more sense to assign such lines to unknown, perhaps
represented by an all-zero commit ID, instead of blaming a semi-random
bystander?

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