Thread (1 message) 1 message, 1 author, 2018-09-10

Re: [Possible GIT Bug]

From: Junio C Hamano <hidden>
Date: 2018-09-10 18:37:49

"Eckhard Maaß" [off-list ref] writes:
On Mon, Sep 10, 2018 at 09:03:10AM -0700, Junio C Hamano wrote:
quoted
It is neither but if I have to pick one between the two, it is much
closer to the former than the latter.  The primary source of this is
that we have only *one* pathspec given to the diff machinery, but in
order to implement your ideal "find harder", you'd need *two*.  That
is, one set of paths for which you are interested in their origin,
and the other set that you allow the machinery to consider as possible
origins.  Since we can only give one pathspec machinery, that one
pathspec is used to specify both of these sets.
How does tihs compare to `--follow`? With that knob active the machinery
indeed uses the whole repository for finding renames and/or copies. Is
this the only exception then?
'--follow' is a checkbox hack that is not even properly integrated
with the diff machinery (it only exists on the "log" side of the
tool), so I do not think it is productive to find a comparison.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help