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

Re: Strange "git stash pop" conflict (one chunk out of many)

From
PWPhillip Wood <phillip.wood123@gmail.com>
Date
Dec 17, 2022, 10:45 UTC
Message-ID
<a6476204-4837-a34e-67ea-74cb9255daf5@dunelm.org.uk>
In-Reply-To
<ced6bacc-3d77-4d24-33f3-a93d2ae7a131@gmail.com>
On 17/12/2022 01:58, Bagas Sanjaya wrote:
Show 21 quoted lines
> On 12/15/22 18:38, Ulrich Windl wrote:
>> Here is how the conflict looks (to me both variants seem identical):
>>
>>          # pre-allocate translations and accesskeys
>> <<<<<<< Updated upstream
>>          foreach my $attr (LD_SEARCH_ATTR) {
>>              $attr{$attr} = [translate_attr($attr), undef];
>>              $attr{$attr}->[1] = add_access_key($aks, 0, $attr{$attr}->[0]);
>>          }
>>          foreach my $attr (LD_SEARCH_ATTR) {
>> =======
>>          foreach my $attr (LD_SEARCH_ATTR) {
>>              $attr{$attr} = [translate_attr($attr), undef];
>>              $attr{$attr}->[1] = add_access_key($aks, 0, $attr{$attr}->[0]);
>>          }
>>          foreach my $attr (LD_SEARCH_ATTR) {
>>>>>>>>> Stashed changes
>>              @n = (P_P_SRCH_ATTR . $attr, @{$attr{$attr}});
>>
> 
> Both sides are identical? You can freely choose either side...

But if both sides are identical then there should not be a conflict - that is what Ulrich is asking about I think.

Best Wishes
Phillip
Previous: Bagas SanjayaNext: Ulrich Windl
Message 3 of 6 in “Strange "git stash pop" conflict (one chunk out of many)”
  1. Ulrich WindlDec 15, 2022
  2. Bagas SanjayaDec 17, 2022
  3. Phillip WoodDec 17, 2022
  4. Antw: [EXT] Re: Strange "git stash pop" conflict (one chunk out of many)Ulrich Windl, Dec 19, 2022
  5. Phillip WoodDec 17, 2022
  6. Wtrlt: Antw: [EXT] Re: Strange "git stash pop" conflict (one chunk out of many)Ulrich Windl, Dec 19, 2022

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.