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

Re: What's cooking in git.git (Jun 2018, #02; Mon, 4)

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 11, 2018, 22:08 UTC
Message-ID
<xmqqmuw1asd1.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180604141230.GA26961@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 16 quoted lines
> On Mon, Jun 04, 2018 at 10:57:30PM +0900, Junio C Hamano wrote:
>
>> * jk/index-pack-maint (2018-06-01) 2 commits
>>   (merged to 'next' on 2018-06-04 at c553a485e8)
>>  + index-pack: handle --strict checks of non-repo packs
>>  + prepare_commit_graft: treat non-repository as a noop
>> 
>>  "index-pack --strict" has been taught to make sure that it runs the
>>  final object integrity checks after making the freshly indexed
>>  packfile available to itself.
>> 
>>  Will cook in 'next'.
>
> This second patch fixes a regression in v2.18.0-rc1 and in v2.17.1. I
> don't know if we'd want to consider it for v2.18 or not (it should be
> able to be applied independently from the first).

I gave the topic -maint suffix, but I'd need a little fix-up patch on top to actually make it mergeable to the maintenance track. With that, let's merge it to 'master' before v2.18 final happens and then also to 'maint'.

 builtin/index-pack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 7b399478dd..3030c88d38 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -1484,7 +1484,7 @@ static void final(const char *final_pack_name, const char *curr_pack_name,
 		struct packed_git *p;
 		p = add_packed_git(final_index_name, strlen(final_index_name), 0);
 		if (p)
-			install_packed_git(the_repository, p);
+			install_packed_git(p);
 	}
 
 	if (!from_stdin) {
Previous: Jeff KingNext: Jeff King
Message 3 of 8 in “What's cooking in git.git (Jun 2018, #02; Mon, 4)”
  1. Junio C HamanoJun 4, 2018
  2. Jeff KingJun 4, 2018
  3. Junio C HamanoJun 11, 2018
  4. Jeff KingJun 11, 2018
  5. Junio C HamanoJun 11, 2018
  6. SZEDER GáborJun 4, 2018
  7. Jeff KingJun 4, 2018
  8. Luke DiamandJun 4, 2018

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.