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

Re: [JGIT PATCH] Added support for creating bare repositories

From
CPConstantine Plotnikov <constantine.plotnikov@gmail.com>
Date
Apr 27, 2009, 12:46 UTC
Message-ID
<85647ef50904270546w41692a50j84cc898a264998ba@mail.gmail.com>
In-Reply-To
<200904270029.56939.robin.rosenberg.lists@dewire.com>

On Mon, Apr 27, 2009 at 2:29 AM, Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:

Show 11 quoted lines
> fredag 24 april 2009 17:36:57 skrev Constantine Plotnikov <constantine.plotnikov@gmail.com>:
>> Now it is possible to create bare repositories.
>> The difference from normal repository creation is
>> that directory where repository is created might
>> exists and that core.bare property is set to true.
>
> I know C Git doesn't check if a directory is a non-bare repo, but I think
> that's wrong, so if I try to create a bare repo in a non-bare repo that
> should be an error. For now I'll accept it anyway since the C version allows
> it and it is useful.
>

I'm not sure that this should be an error. We have a bare git repository with a test data inside the non-bare repository. And such feature might be nice to have to other git related tools as well. %)

Constantine
Previous: Robin Rosenberg
Message 3 of 3 in “Added support for creating bare repositories”
  1. Added support for creating bare repositoriesConstantine Plotnikov, Apr 24, 2009
  2. Robin RosenbergApr 26, 2009
  3. Constantine PlotnikovApr 27, 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.