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 15, 2019, 15:17 UTC
Message-ID
<CABPp-BHnSG+PtnU=jKHW2_hfLtBK1Sib_W+nqY08gGj8yHGCgw@mail.gmail.com>
In-Reply-To
<xmqqh84abmjm.fsf@gitster-ct.c.googlers.com>
On Tue, Oct 15, 2019 at 2:04 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> * en/fast-imexport-nested-tags (2019-10-04) 8 commits
>   (merged to 'next' on 2019-10-07 at 3e75779e10)
>  + fast-export: handle nested tags
>  + t9350: add tests for tags of things other than a commit
>  + fast-export: allow user to request tags be marked with --mark-tags
>  + fast-export: add support for --import-marks-if-exists
>  + fast-import: add support for new 'alias' command
>  + fast-import: allow tags to be identified by mark labels
>  + fast-import: fix handling of deleted tags
>  + fast-export: fix exporting a tag and nothing else
>
>  Updates to fast-import/export.
Thanks!
Show 10 quoted lines
> * 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? I did mention (at the end of an email) at [1], that

"Oh, and I think there's another place in the code that needs to be tweaked to make sure we handle renaming subdirectories into the root directory that I missed (and just wasn't tested by this testcase), so I'll check into it and if so fix the code and add another testcase, and include the fixups I agreed to above and send out a v2. Probably won't get to it until the middle of next week, though."

So, I guess I'll submit a fixup patch on top instead, either later today or tomorrow.

Also, a very minor point but "glitches" may be misleading; it suggests (to me at least) a malfunction rather than a failure to trigger, and it's really only the special case of renaming/merging of a directory into the root directory that the previous heuristics failed to detect. The rest of the fixes were make-the-code-clearer (there were a couple places in the code that were technically correct but quite misleading and hard to reason about).

[1] https://public-inbox.org/git/CABPp-BFNCLJnt4NgFKVxURBGD1Z00gastc5q4ZPjcHmwS=kuFw@mail.gmail.com/
Previous: Junio C HamanoNext: Johannes Schindelin
Message 2 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.