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

Re: What's cooking in git.git (Sep 2019, #02; Wed, 18)

From
Taylor Blau <me@ttaylorr.com>
Date
Sep 20, 2019, 17:08 UTC
Message-ID
<20190920170811.GA62895@syl.local>
In-Reply-To
<xmqqy2yl44lw.fsf@gitster-ct.c.googlers.com>
On Wed, Sep 18, 2019 at 03:33:15PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> * tb/commit-graph-harden (2019-09-09) 3 commits
>  - commit-graph.c: handle corrupt/missing trees
>  - commit-graph.c: handle commit parsing errors
>  - t/t5318: introduce failing 'git commit-graph write' tests
>
>  The code to parse and use the commit-graph file has been made more
>  robust against corrupted input.
>
>  Will merge to 'next'.

Thanks for moving my topic along. This was found while generating commit-graph files on all repositories hosted on GitHub, and some corrupt repositories triggered the behavior.

We've been running this patch since a few days before I submitted it to the mailing list without issue, and it certainly does squash the issue I originally found.

Show 9 quoted lines
> * jk/disable-commit-graph-during-upload-pack (2019-09-12) 2 commits
>  - upload-pack: disable commit graph more gently for shallow traversal
>  - commit-graph: bump DIE_ON_LOAD check to actual load-time
>
>  The "upload-pack" (the counterpart of "git fetch") needs to disable
>  commit-graph when responding to a shallow clone/fetch request, but
>  the way this was done made Git panic, which has been corrected.
>
>  Will merge to 'next'.

This one has a similar origin story, and has also been running at GitHub for a few weeks. Happily, it does as it advertises and makes the commit-graph process faster.

Show 11 quoted lines
> * jk/partial-clone-sparse-blob (2019-09-16) 4 commits
>  - list-objects-filter: use empty string instead of NULL for sparse "base"
>  - list-objects-filter: give a more specific error sparse parsing error
>  - list-objects-filter: delay parsing of sparse oid
>  - t5616: test cloning/fetching with sparse:oid=<oid> filter
>
>  The name of the blob object that stores the filter specification
>  for sparse cloning/fetching was interpreted in a wrong place in the
>  code, causing Git to abort.
>
>  Will merge to 'next'.

A previous version of this series is running at GitHub, too, and also without issue.

Thanks, Taylor

Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 13 in “What's cooking in git.git (Sep 2019, #02; Wed, 18)”
  1. Junio C HamanoSep 18, 2019
  2. Jonathan TanSep 18, 2019
  3. Junio C HamanoSep 20, 2019
  4. Martin ÅgrenSep 19, 2019
  5. Junio C HamanoSep 20, 2019
  6. Thomas GummererSep 19, 2019
  7. Junio C HamanoSep 20, 2019
  8. Taylor BlauSep 20, 2019
  9. Junio C HamanoSep 20, 2019
  10. git-gui contributions, was Re: What's cooking in git.git (Sep 2019, #02; Wed, 18)Johannes Schindelin, Sep 23, 2019
  11. Pratyush YadavSep 24, 2019
  12. Johannes SchindelinSep 26, 2019
  13. Pratyush YadavSep 26, 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.