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

Re: What's cooking in git.git (Oct 2019, #04; Tue, 15)

From
Elijah Newren <newren@gmail.com>
Date
Oct 16, 2019, 06:57 UTC
Message-ID
<CABPp-BE5WmqXuiyQgMxcRXyjnPu141KD56ddfneVqoGdXLKSoA@mail.gmail.com>
In-Reply-To
<xmqq8splbhxf.fsf@gitster-ct.c.googlers.com>
On Tue, Oct 15, 2019 at 6:25 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
>
> Elijah Newren <newren@gmail.com> writes:
>
> >> * en/merge-recursive-directory-rename-fixes (2019-10-12) 2 commits
> >>   (merged to 'next' on 2019-10-15 at ebfdc3ff7b)
> >>  + merge-recursive: fix merging a subdirectory into the root directory
> >>  + merge-recursive: clean up get_renamed_dir_portion()
> >>
> >>  A few glitches in the heuristic in merge-recursive to infer file
> >>  movements based on movements of other files in the same directory
> >>  have been corrected.
> >>
> >>  Will merge to 'master'.
> >
> > I'm surprised this one was merged straight down to next; perhaps I
> > should have highlighted my plans a bit clearer in the thread?
>
> My mistake.  I am willing to revert the merge to give the topic a
> clean slate.  Just tell me so.
Yeah, let's revert it.
Show 6 quoted lines
> > Also, a very minor point but "glitches" may be misleading; it suggests
> > (to me at least) a malfunction rather than a failure to trigger,...
>
> I used the word to mean a failure to trigger (after all, a heuristic
> that fails to trigger when most people would naturelly expect it to
> is showing a glitch in that case).  A better phrasing, please?

Oh, I guess I just had a different connotation for glitch. I guess what you had is fine then, but alternatively we could spell it out just a little more:

When all files from some subdirectory were renamed to the root directory, the directory rename heuristics would fail to detect that as a rename/merge of the subdirectory to the root directory, which has been corrected.

Previous: Junio C Hamano
Message 6 of 6 in “What's cooking in git.git (Oct 2019, #04; Tue, 15)”
  1. Junio C HamanoOct 15, 2019
  2. Elijah NewrenOct 15, 2019
  3. Johannes SchindelinOct 15, 2019
  4. Elijah NewrenOct 15, 2019
  5. Junio C HamanoOct 16, 2019
  6. Elijah NewrenOct 16, 2019

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.