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 5, 2009, 01:28 UTC
Message-ID
<2e24e5b90911041728t72fe2c2fhbea5b8e707236fa@mail.gmail.com>
In-Reply-To
<7v3a4ugjea.fsf@alter.siamese.dyndns.org>
On Thu, Nov 5, 2009 at 1:19 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> The single most common reason why a bare repository is bare is because
> nobody regularly logs in to the machine that hosts it and goes there to
> access its contents.  As reflog is a local thing, and not exposed to
> outside world, enabling it alone would not help a lot to people who do not
> have such a direct access to the bare repository, which by definition is
> the majority because the reason why the repository is bare to begin with.
>
> Once we add ways to expose information kept in reflog of a bare repository
> more effectively and conveniently, the argument could become "should be
> enabled now it would be very useful to have one".

It doesn't have to be exposed nor we have to wait till such features (like you mentioned gitweb, remote log, etc) are implemented.

We're talking "disaster recovery", not "daily use" -- after all, *someone* has access to the machine, and can become "local" to it.

Regards,
Sitaram
Previous: Matthieu Moy
Message 11 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.