git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH] gitk: Activate --find-copies-harder

From
LELaszlo Ersek <lersek@redhat.com>
Date
Jan 11, 2021, 09:21 UTC
Message-ID
<23445a9c-46b2-0232-845b-c8d5fe36d506@redhat.com>
In-Reply-To
<b0c0a630-25a9-8ef8-2270-fa40404c2897@posteo.net>
On 01/10/21 13:59, Robert Pollak wrote:
Show 15 quoted lines
> On 2021-01-06 16:58, Laszlo Ersek wrote:
>> On 01/04/21 20:54, Robert Pollak wrote:
> [...]
>>> I see the following problems with my patch:
>>>
>>> 1) It is totally untested with all the other args that are collected in
>>> diffargs, like e.g. "-O<orderfile>", since I didn't need them yet.
>>
>> It would be really great if gitk supported both "-O<orderfile>" and
>> --find-copies-harder!
>
> Can you please test these options with my patch and report back?
>
> -- Robert
>
The patch doesn't apply with git-am (I'm trying on top of 72c4083ddf91):
Show 7 quoted lines
> Applying: gitk: Activate --find-copies-harder
> error: corrupt patch at line 100
> Patch failed at 0001 gitk: Activate --find-copies-harder
> hint: Use 'git am --show-current-patch' to see the failed patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".

One problem could be the embedded diff in the notes section (I guess it could confuse git-am).

Also, "gitk" has existed at "gitk-git/gitk" since commit 62ba5143ec2a ("Move gitk to its own subdirectory", 2007-11-18), so the pathname headers in the patch look wrong.

Thanks Laszlo

Previous: Robert PollakNext: Pratyush Yadav
Message 4 of 7 in “gitk: Activate --find-copies-harder”
  1. gitk: Activate --find-copies-harderRobert Pollak, Jan 4, 2021
  2. Laszlo ErsekJan 6, 2021
  3. Robert PollakJan 10, 2021
  4. Laszlo ErsekJan 11, 2021
  5. Pratyush YadavJan 11, 2021
  6. Laszlo ErsekJan 11, 2021
  7. Junio C HamanoJan 11, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.