Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2021 10:12:27 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Chris Torek <torek@mail.torek.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: git and openzfs conflict
Message-ID:  <20210719171227.GA74784@troutmask.apl.washington.edu>
In-Reply-To: <202107191703.16JH3A8P089286@elf.torek.net>
References:  <20210719165200.GA74695@troutmask.apl.washington.edu> <202107191703.16JH3A8P089286@elf.torek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 19, 2021 at 10:03:10AM -0700, Chris Torek wrote:
> (note, I broke up this long line myself)
> 
> >error: cannot lock ref 'refs/remotes/freebsd/vendor/openzfs/legacy':
> >'refs/remotes/freebsd/vendor/openzfs' exists;
> >cannot create 'refs/remotes/freebsd/vendor/openzfs/legacy'
> 
> This is a classic directory/file conflict.  There was, earlier,
> a file named foo/bar.  Now there's a directory foo/bar containing
> a file named baz.  You have to move the foo/bar file out of the
> way, or remove it.
> 
> In this case, it's a "ref": a Git thingy that holds a hash ID.
> If you're not using it yourself, it's safe to just remove it:
> 
>     git update-ref -d refs/remotes/freebsd/vendor/openzfs
> 
> Repeat for each "refs/remotes" issue as needed.
> 

Thanks, Chris.

I'm not using any local branches; nor do I use ZFS.
I'm simply tracking the FreeBSD git repository.  The
only local files/changes are a custom kernel config
file and a number of bug fixes/additions to libm.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210719171227.GA74784>