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

Re: [PATCH v2] prune: mark rebase autostash and orig-head as reachable

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 9, 2024, 18:04 UTC
Message-ID
<xmqqjzndfr9d.fsf@gitster.g>
In-Reply-To
<pull.1656.v2.git.1707495579886.gitgitgadget@gmail.com>
"Phillip Wood via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> +static void add_rebase_files(struct rev_info *revs)
> +{
> +	struct strbuf buf = STRBUF_INIT;
> +	size_t len;
> +	const char *path[] = {
> +		"rebase-apply/autostash",
> +		"rebase-apply/orig-head",
> +		"rebase-merge/autostash",
> +		"rebase-merge/orig-head",
> +	};
Yuck.

Having this table here makes the sequencer subsystem even less maintainable than it already is. I wonder if we can at least somehow share some of these? #leftoverbits.

Thanks.
Previous: Phillip Wood via GitGitGadget
Message 8 of 8 in “prune: mark rebase autostash and orig-head as reachable”
  1. prune: mark rebase autostash and orig-head as reachablePhillip Wood via GitGitGadget, Feb 8, 2024
  2. Eric SunshineFeb 8, 2024
  3. Phillip WoodFeb 9, 2024
  4. Junio C HamanoFeb 8, 2024
  5. Phillip WoodFeb 9, 2024
  6. Phil HordMay 14, 2024
  7. prune: mark rebase autostash and orig-head as reachablePhillip Wood via GitGitGadget, Feb 9, 2024
  8. Junio C HamanoFeb 9, 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.