* no `bare = true' in `config' of a bare repository - problem or ignore?
@ 2008-06-16 12:36 Brian Foster
2008-06-17 9:25 ` Johannes Schindelin
0 siblings, 1 reply; 2+ messages in thread
From: Brian Foster @ 2008-06-16 12:36 UTC (permalink / raw)
To: git
Whilst investigating a (probably unrelated) mystery,
I noticed that some of my bare git repositories had:
[core]
bare = true
whilst others did not (they had no `bare' setting at
all). All, with or without `bare', seem to be quite
happy, but I was wondering what's going on; is this
a problem; and if not, is there any point to adding
the setting anyways?
As to _why_ some do and some don't, I haven't a clew,
but suspect the ones that do NOT were originally made
with an (unknown) older version of git; and the ones
that do were made with git 1.5.3 or later.
The git-config(1) man page (1.5.5) doesn't directly
mention this, only talking about auto-guessing the
value on init and clone. Apologies if TFM explains;
I didn't spot anything.
cheers!
-blf-
--
“How many surrealists does it take to | Brian Foster
change a lightbulb? Three. One calms | somewhere in south of France
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobil)!
with brightly-coloured machine tools.” | http://www.stopesso.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: no `bare = true' in `config' of a bare repository - problem or ignore?
2008-06-16 12:36 no `bare = true' in `config' of a bare repository - problem or ignore? Brian Foster
@ 2008-06-17 9:25 ` Johannes Schindelin
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2008-06-17 9:25 UTC (permalink / raw)
To: Brian Foster; +Cc: git
Hi,
On Mon, 16 Jun 2008, Brian Foster wrote:
> Whilst investigating a (probably unrelated) mystery,
> I noticed that some of my bare git repositories had:
>
> [core]
> bare = true
>
> whilst others did not (they had no `bare' setting at
> all).
It's a historical thing: this setting was not present in older Git.
Basically, we still have some autodetection ignoring the absence of
core.bare.
Shouldn't be a problem.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-17 9:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-16 12:36 no `bare = true' in `config' of a bare repository - problem or ignore? Brian Foster
2008-06-17 9:25 ` Johannes Schindelin
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).