Re: [BUG] Destructive access to an "objects/info/alternates" repository
- From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
- Date
- Dec 28, 2020, 19:00 UTC
- Message-ID
- <20201228190036.vnkgeu6puxmvgt5s@chatter.i7.local>
- In-Reply-To
- <jwvpn2tdb0r.fsf-monnier+gmane.comp.version-control.git@gnu.org>
On Mon, Dec 28, 2020 at 01:50:43PM -0500, Stefan Monnier wrote:
Show 11 quoted lines
> [ Resending with a subject that clarifies that it's a bug report. ] > > > Thank you for filling out a Git bug report! > > Please answer the following questions to help us understand your issue. > > > What did you do before the bug happened? (Steps to reproduce your > > issue) > > I did basically: > > git clone --reference ~otheruser/nongnu
This doesn't appear to be a proper command, because it's missing actual repository to clone, only the repository to use as reference. This is the proper usage of --reference:
git clone --reference ~/some/repo https://some/remote/repo.git
Perhaps you meant --shared?
Without knowing exactly what you did, it's hard to tell what went wrong. You can try running "find nongnu" to see if what you think is your own checkout is actually a symlink or some combination thereof.
-K