git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: What's cooking in git.git (May 2019, #05; Thu, 30)
Date: Fri, 31 May 2019 10:34:38 -0700	[thread overview]
Message-ID: <xmqq5zpqwms1.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <nycvar.QRO.7.76.6.1905311346170.44@tvgsbejvaqbjf.bet> (Johannes Schindelin's message of "Fri, 31 May 2019 14:42:30 +0200 (CEST)")

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> On Thu, 30 May 2019, Junio C Hamano wrote:
>
>> * bb/unicode-12.1-reiwa (2019-05-29) 1 commit
>>   (merged to 'next' on 2019-05-30 at 016465335c)
>>  + unicode: update the width tables to Unicode 12.1
>> <<
>> * bb/unicode-12.1-reiwa (2019-05-29) 1 commit
>>  - unicode: update the width tables to Unicode 12.1
>> >>
>>
>>  Update to Unicode 12.1 width table.
>>
>>  Will cook in 'next'.
>
> I would actually be in favor of merging this before v2.22.0. It's not like
> this is a feature we need to perfect, we just integrate upstream changes.

It is not really an import of "upstream change", when it is
expressed in a form of a table that we invent and let our code read.

The patch coalesces two entries that describe two ranges with
1-codepoint gap into one entry that eliminates the gap in the table,
and I did also read the code that uses the table and I am reasonably
certain that there won't be any bug introduced by this change [*1*],
so in that sense "cook in 'next'" is being overly conservative.

	Side note: *1* if the patch were to extend one end of the
	range so that these two entries describe adjacent two ranges
	without any gap, and if the code that uses the table had a
	bug that gets triggered when given two ranges that do not
	have any gap between them, then without such careful
	inspection, we may have said "this is just upstream changes,
	let's fast-track it" and caused regression.

But I am marking it as such, not due to conservativeness, but mostly
out of principle.  Once we start saying "this is trivial enough, so
let's merge straight to 'master'" for one topic, it will lead to
others jumping up and down saying "that other topic is also
trivially correct" to swamp me, and mistakes are bound to happen.

In other words, as I said in "What's cooking" report one issue ago,
the criteria is no longer "this is obviously correct"---it is "this
is obvious and trivial fix for a regression".

>> * ab/hash-object-doc (2019-05-28) 1 commit
>>  - hash-object doc: stop mentioning git-cvsimport
>>
>>  Doc update.
>>
>>  Will merge to 'next'.
>
> Similarly, I think it would not hurt to merge this before v2.22.0.

Likewise.

More importantly, the above is only is 1/3 of the topic, and while I
am in agreement with the reviewer(s) who were negative on the other
two, we haven't heard a response/rebuttal.

>> * ew/server-info-remove-crufts (2019-05-28) 1 commit
>>   (merged to 'next' on 2019-05-29 at 655ba18f30)
>>  + server-info: do not list unlinked packs
>>
>>  "git update-server-info" used to leave stale packfiles in its
>>  output, which has been corrected.
>>
>>  Will cook in 'next'.
>
> I do dream of the day when we can just get rid of the entire non-smart
> HTTP stuff.

;-)

>> * jk/HEAD-symref-in-xfer-namespaces (2019-05-28) 1 commit
>>   (merged to 'next' on 2019-05-29 at c2cfe38955)
>>  + upload-pack: strip namespace from symref data
>>
>>  The server side support for "git fetch" used to show incorrect
>>  value for the HEAD symbolic ref when the namespace feature is in
>>  use, which has been corrected.
>>
>>  Will cook in 'next'.
>
> This is an older regression, so it should probably be kept in `next` for
> now.

I do not think it is even a regression.  Back when I did the "symref
target in capability", I was aware of, but did not bother being
careful not to break, the "separate namespace" stuff ;-).  I think
it was broken from day one.

>> * mm/p4-unshelve-windows-fix (2019-05-28) 1 commit
>>  - p4 unshelve: fix "Not a valid object name HEAD0" on Windows
>>
>>  The command line to invoke a "git cat-file" command from inside
>>  "git p4" was not properly quoted to protect a caret and running a
>>  broken command on Windows, which has been corrected.
>>
>>  Will merge to 'next'.
>
> Same here, this is a super old regression, and it will not hurt to cook it
> a bit longer.

Also, as (I think) you saw my "git grep", we may want to correct all
the problems with the same root, and the above solve only one of the
two.

>> * po/git-help-on-git-itself (2019-05-16) 2 commits
>>  - Doc: git.txt: remove backticks from link and add git-scm.com/docs
>>  - git.c: show usage for accessing the git(1) help page
>>
>>  "git help git" was hard to discover (well, at least for some
>>  people).
>>
>>  Will merge to 'next'.
>
> I guess it would not hurt anybody (and get a bit more exposure) if it was
> merged before v2.22.0, but it does not fix a problem introduced in this
> cycle, so...

Yeah, I think you already know this but my stance towards these
"would never hurt to merge even in -rc period" topics is to merge
them soon after the final.

>> * ba/clone-remote-submodules (2019-05-28) 1 commit
>>   (merged to 'next' on 2019-05-29 at 71972f94c2)
>>  + clone: add `--remote-submodules` flag
>>
>>  "git clone --recurse-submodules" learned to set up the submodules
>>  to ignore commit object names recorded in the superproject gitlink
>>  and instead use the commits that happen to be at the tip of the
>>  remote-tracking branches from the get-go, by passing the new
>>  "--remote-submodules" option.
>>
>>  Will cook in 'next'.
>
> Are we really sure that this is a good option name? With that description,
> I would have expected `--recurse-submodules=follow-tips` or some such.
>
> In other words, I would have been in favor of keeping this in `pu` for a
> little while longer. But it's already in `next`...

As far as I am concerned, ones in 'next' that is not meant to be
fast-tracked to 'master' during the -rc period are like only in
`pu`.  Soon after the final, when 'next' is rewound, any of them can
be kicked out to give it a fresh start, and it is a good time to
think and nominate which ones to boot and reboot, like you just did.

As to your question, I do not have a strong opinion either way.
Input from folks more invested in submodules, and especially from
those who want to use submodules in non-traditional ways, would be
most welcome.  To me, it feels that the "ignore what gitlink entries
say, and use the commits that happen to be pointed at by refs of a
clone of the submodule you happen to follow" is not really a good
match to the way "gitlink" based Git submodules are designed to be
used, but that mode of the operation is not wrong per-se (it was
just that we did not design the system to support well).

>> * ds/close-object-store (2019-05-28) 3 commits
>>  - packfile: rename close_all_packs to close_object_store
>>  - packfile: close commit-graph in close_all_packs
>>  - commit-graph: use raw_object_store when closing
>>  (this branch uses ds/commit-graph-write-refactor.)
>>
>>  The commit-graph file is now part of the "files that the runtime
>>  may keep open file descriptors on, all of which would need to be
>>  closed when done with the object store", and the file descriptor to
>>  an existing commit-graph file now is closed before "gc" finializes
>>  a new instance to replace it.
>>
>>  Waiting on ds/commit-graph-write-refactor to stabilize.
>
> FWIW I backported this to Git for Windows, as the underlying bug would
> prevent an auto gc from working as intended (iff the commit graph feature
> is turned on, of course).

Yes, I can see how a system that does not allow filesystem
operations on a still-open file would need these three patches.  How
ready is the underlying topic?  IIRC there were a few internal API
details still to be reworked?

Thanks for your thoughtful comments.

  reply	other threads:[~2019-05-31 17:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-30 21:23 What's cooking in git.git (May 2019, #05; Thu, 30) Junio C Hamano
2019-05-31 11:39 ` Johannes Schindelin
2019-05-31 17:02   ` Junio C Hamano
2019-05-31 17:14     ` Johannes Schindelin
2019-05-31 12:42 ` Johannes Schindelin
2019-05-31 17:34   ` Junio C Hamano [this message]
2019-05-31 18:48     ` Johannes Schindelin
2019-06-01 15:08     ` Kaartic Sivaraam
2019-06-02 17:48     ` Philip Oakley
2019-05-31 18:56   ` Junio C Hamano
2019-05-31 20:26     ` cc/list-objects-filter-wo-sparse-path, was " Johannes Schindelin
2019-06-02 14:32       ` Jiang Xin
2019-06-05 18:38 ` Nickolai Belakovski
2019-06-06 13:09   ` Johannes Schindelin

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=xmqq5zpqwms1.fsf@gitster-ct.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    /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).