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

Re: thoughts on setting core.logAllRefUpdates default true for bare repos

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Nov 4, 2009, 16:41 UTC
Message-ID
<2e24e5b90911040841l7741787et48fabb8c8066e946@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0911041422170.2788@felix-maschine>
Hi Johannes,

On Wed, Nov 4, 2009 at 6:55 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

> I did not have time yet to investigate, but it seems that there are
> problems with the permissions of shared bare repositories when activating
> the reflogs.
Interesting; I will try and investigate if I can find something.
> With gitweb on a public site, there might be a problem when you pushed
> some blob containing trade secrets accidentally, and try to scrub the
> repository using "git gc" after a forced push.

Agreed. This config variable is biased to *keep* data if set to true, and (default) false value is biased not to keep that same data, so that will always be a conflict.

But if you are able to do "gc" manually on any repo you can also do "reflog expire" before "gc" can you not? Please correct me if I'm wrong.

Regards,
Sitaram
Previous: Johannes SchindelinNext: demerphq
Message 3 of 11 in “thoughts on setting core.logAllRefUpdates default true for bare repos”
  1. Sitaram ChamartyNov 4, 2009
  2. Johannes SchindelinNov 4, 2009
  3. Sitaram ChamartyNov 4, 2009
  4. demerphqNov 4, 2009
  5. Nicolas SebrechtNov 4, 2009
  6. Sverre RabbelierNov 4, 2009
  7. Sitaram ChamartyNov 5, 2009
  8. Matthieu MoyNov 4, 2009
  9. Junio C HamanoNov 4, 2009
  10. Matthieu MoyNov 4, 2009
  11. Sitaram ChamartyNov 5, 2009

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.