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

Re: What's cooking in git.git (May 2024, #02; Fri, 3)

From
Junio C Hamano <gitster@pobox.com>
Date
May 6, 2024, 22:17 UTC
Message-ID
<xmqqy18mwpog.fsf@gitster.g>
In-Reply-To
<ZjihN01c8gWX0s9H@tanuki>
Patrick Steinhardt <ps@pks.im> writes:
> I have just sent out a new version [1] that fixes a few commit messages.
> Other than that I think this version should be ready to go.
>
> [1]: https://lore.kernel.org/git/cover.1714982328.git.ps@pks.im/T/#u
Thanks.
Show 29 quoted lines
>> * ps/undecided-is-not-necessarily-sha1 (2024-04-30) 13 commits
>>  . repository: stop setting SHA1 as the default object hash
>>  . oss-fuzz/commit-graph: set up hash algorithm
>>  . builtin/shortlog: don't set up revisions without repo
>>  . builtin/diff: explicitly set hash algo when there is no repo
>>  . builtin/bundle: abort "verify" early when there is no repository
>>  . builtin/blame: don't access potentially unitialized `the_hash_algo`
>>  . builtin/rev-parse: allow shortening to more than 40 hex characters
>>  . remote-curl: fix parsing of detached SHA256 heads
>>  . attr: fix BUG() when parsing attrs outside of repo
>>  . attr: don't recompute default attribute source
>>  . parse-options-cb: only abbreviate hashes when hash algo is known
>>  . path: move `validate_headref()` to its only user
>>  . path: harden validation of HEAD with non-standard hashes
>> 
>>  Before discovering the repository details, We used to assume SHA-1
>>  as the "default" hash function, which has been corrected. Hopefully
>>  this will smoke out codepaths that rely on such an unwarranted
>>  assumptions.
>> 
>>  Seems to break t0003 with a NULL the_repository.
>> 
>>  Ejected out of 'seen' for now.
>>  source: <cover.1714371422.git.ps@pks.im>
>
> Interesting, I couldn't reproduce this issue when rebasing the patches
> onto "seen". There were merge conflicts though, both with
> jc/no-default-attr-tree-in-bare and ps/the-index-is-no-more. So maybe
> there was a mismerge involved somewhere?
That is very possible.
Previous: Patrick SteinhardtNext: Junio C Hamano
Message 5 of 7 in “What's cooking in git.git (May 2024, #02; Fri, 3)”
  1. Junio C HamanoMay 4, 2024
  2. Dragan SimicMay 4, 2024
  3. ds/scalar-reconfigure-all-fix, was Re: What's cooking in git.git (May 2024, #02; Fri, 3)Johannes Schindelin, May 4, 2024
  4. Patrick SteinhardtMay 6, 2024
  5. Junio C HamanoMay 6, 2024
  6. Junio C HamanoMay 7, 2024
  7. Patrick SteinhardtMay 7, 2024

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.