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

Re: [PATCH] Create 'git gc' to perform common maintenance operations.

From
Junio C Hamano <junkio@cox.net>
Date
Dec 27, 2006, 07:46 UTC
Message-ID
<7vr6ul93wz.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061227071759.GA23057@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 8 quoted lines
> +The optional configuration variable 'gc.reflogExpireUnreachable'
> +can be set to indicate how long historical reflog entries which
> +are not part of the current branch should remain available in
> +this repository.  These types of entries are generally created as
> +a result of using `git commit \--amend` or `git rebase` and are the
> +commits prior to the amend or rebase occuring.  Since these changes
> +are not part of the current project most users will want to expire
> +them sooner.  This option defaults to '60 days'.

Should I update the default expire-unreachable in builtin-reflog to match 60 days?

Previous: Shawn O. PearceNext: Shawn Pearce
Message 2 of 8 in “Create 'git gc' to perform common maintenance operations.”
  1. Create 'git gc' to perform common maintenance operations.Shawn O. Pearce, Dec 27, 2006
  2. Junio C HamanoDec 27, 2006
  3. Shawn PearceDec 27, 2006
  4. Junio C HamanoDec 27, 2006
  5. Shawn PearceDec 27, 2006
  6. Junio C HamanoDec 27, 2006
  7. Martin WaitzDec 27, 2006
  8. Junio C HamanoDec 27, 2006

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.