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

Re: [PATCH v4 0/3] difftool dir-diff symlink bug fix and cleanup patches

From
David Aguilar <davvid@gmail.com>
Date
Sep 20, 2021, 21:43 UTC
Message-ID
<CAJDDKr6m9kXKSuQhC5g_OkJa52QRMtf8s8Bd0YbRNnzAgudifQ@mail.gmail.com>
In-Reply-To
<xmqqmto7ay6s.fsf@gitster.g>
On Mon, Sep 20, 2021 at 11:39 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
>
> David Aguilar <davvid@gmail.com> writes:
>
> > This patch series fixes a regression in difftool that can lead to data loss.
> > The symlink-file writing in difftool's dir-diff mode has been fixed to no
> > longer write-through to the symlink targets.
>
> v4 with no backreference?  Do you have a message-id for the previous
> three rounds handy?
<20210919015729.98323-4-davvid@gmail.com>

v1 was dead on arrival so v2 was really the first. There was no v3 -- a different patch in the series went to v3 so I bumped the entire series to v4.

Show 7 quoted lines
> > Please consider patching older Git versions with the fix from 1/3.
>
> meaing 1/3 would be done on top of maint (v2.33.0), and the other
> two can be on a separate branch that starts on a commit that is a
> merge of the 1/3's branch into 'master'?
>
> Thanks.
Thanks. Patch 3/3 seems trivially correct so I won't resend that either.

Ævar had notes about 2/3 which can be split off to a separate topic, so that's the only one I'll plan to resend all by itself --in-reply-to that thread.

I see that it's already in "seen". I can send a replacement patch shortly if that's not too much trouble; dropping "strbuf" from the subject line in the commit message and the note about the test would be good to cleanup. The strbuf leaks will be addressed in the replacement patch. -- David

Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 10 in “difftool dir-diff symlink bug fix and cleanup patches”
  1. 0/3 difftool dir-diff symlink bug fix and cleanup patchesDavid Aguilar, Sep 19, 2021
  2. 1/3 difftool: fix symlink-file writing in dir-diff modeDavid Aguilar, Sep 19, 2021
  3. Ævar Arnfjörð BjarmasonSep 20, 2021
  4. 2/3 difftool: use a strbuf to create a tmpdir path without repeated slashesDavid Aguilar, Sep 19, 2021
  5. Eric SunshineSep 20, 2021
  6. difftool: create a tmpdir path without repeated slashesDavid Aguilar, Sep 20, 2021
  7. 3/3 difftool: add a missing space to the run_dir_diff() commentsDavid Aguilar, Sep 19, 2021
  8. Junio C HamanoSep 20, 2021
  9. David AguilarSep 20, 2021
  10. Junio C HamanoSep 22, 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.