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