In command line Git, the show
, diff
and log
commands have got an option to --find-copies-harder
.
Is there a way I can tell (or patch) gitk
to use this, too? I need this from time to time, and my projects are small enough such that I don't care about the reduced performance.
(I don't want to craft the history to force copy detection any more.)
I noticed that the --find-copies-harder
appears within the gitk code, but I don't understand why.
So I have tried the command line gitk --all --find-copies-harder
, but it didn't work: In a commit with a new file copied from another versioned file, gitk still did not display the fact that this file was copied.
Update: Editing the view by entering --find-copies-harder
into the field Additional arguments to git log:
also has no effect: A copied (and slightly modified) file is still not shown as copied, while in the command line git show --find-copies-harder
it is.