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

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

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Apr 26, 2009, 22:29 UTC
Message-ID
<200904270029.56939.robin.rosenberg.lists@dewire.com>
In-Reply-To
<1240587417-3732-1-git-send-email-constantine.plotnikov@gmail.com>
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.

-- robin
Previous: Constantine PlotnikovNext: Constantine Plotnikov
Message 2 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.