git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Elijah Newren <newren@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junio C Hamano <gitster@pobox.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: What's cooking in git.git (Oct 2019, #04; Tue, 15)
Date: Tue, 15 Oct 2019 11:22:57 -0700	[thread overview]
Message-ID: <CABPp-BG_NjU6PgPVpZisF_UbWQhQLDNtHo5uPGaHKwQYtce+Gg@mail.gmail.com> (raw)
In-Reply-To: <nycvar.QRO.7.76.6.1910151938280.46@tvgsbejvaqbjf.bet>

On Tue, Oct 15, 2019 at 10:39 AM Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
>
> Hi Elijah,
>
> On Tue, 15 Oct 2019, Elijah Newren wrote:
>
> > On Tue, Oct 15, 2019 at 2:04 AM Junio C Hamano <gitster@pobox.com> wrote:
> > > * 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!
> >
> > > * 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).
>
> I also offered several comments that the regression tests could be
> condensed into easier-to-understand ones.

Part of that was (obliquely) referenced in my above quote ("the fixups
I agreed to above"), and I was also going to respond to your follow up
and add a few more changes based on it.

I thought I'd be doing that while this series was still in pu, and
that this series would probably not make it into 2.24.0, but since
Junio quickly merged this down to next and says he plans to merge
down, I'm thinking right now it may make more sense to make a minimal
change to what he has merged down to get the functionality right, and
then start a new topic that addresses testcase restructuring overhauls
of t6042, t6043, and t6046 -- restructurings that we'll probably
continue to argue about but may be able to find some common ground on.

I'll respond in more detail on the testcase restructuring stuff in a
few days after I get a few other things out of the way.

> Ciao,
> Dscho
>
> > [1] https://public-inbox.org/git/CABPp-BFNCLJnt4NgFKVxURBGD1Z00gastc5q4ZPjcHmwS=kuFw@mail.gmail.com/
> >

  reply	other threads:[~2019-10-15 18:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15  5:33 What's cooking in git.git (Oct 2019, #04; Tue, 15) Junio C Hamano
2019-10-15 15:17 ` Elijah Newren
2019-10-15 17:39   ` Johannes Schindelin
2019-10-15 18:22     ` Elijah Newren [this message]
2019-10-16  1:25   ` Junio C Hamano
2019-10-16  6:57     ` Elijah Newren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABPp-BG_NjU6PgPVpZisF_UbWQhQLDNtHo5uPGaHKwQYtce+Gg@mail.gmail.com \
    --to=newren@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).