Date: Tue, 8 Jun 2021 19:45:04 +0800 From: Li-Wen Hsu <lwhsu@freebsd.org> To: freebsd-git <freebsd-git@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: [HEADS UP] Rename of the vendor/openzfs branch Message-ID: <CAKBkRUxtT9xz2UK%2B5RLcjFA7uvzzYQfNEG%2BmxLAYC8iwg5Wq_w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello,
As mentioned in the "OpenZFS imports, status update":
https://lists.freebsd.org/archives/freebsd-git/2021-June/000013.html
We're going to rename the current openzfs vendor branch,
vendor/openzfs, to vendor/openzfs/legacy
and import directly the master and zfs-2.1-release branches from the
upstream OpenZFS to vendor/openzfs/* for merging to our main and
stable/13 branches. The details can be found in the mail above.
The people have local branch tracking the original vendor/openzfs may
encounter error message like this whey doing `git pull`:
error: cannot lock ref
'refs/remotes/freebsd/vendor/openzfs/legacy':
'refs/remotes/freebsd/vendor/openzfs' exists; cannot create
'refs/remotes/freebsd/vendor/openzfs/legacy'
The solution is update the upstream of the tracking branch:
(change "freebsd" to "origin" if you use the default remote name)
git remote prune freebsd
(on your tracking branch)
git branch -u freebsd/vendor/openzfs/legacy
If you don't want the first command prune all the branches not
existing in the remote repository, use this:
git update-ref -d refs/remotes/freebsd/vendor/openzfs
(also, change "freebsd" to "origin" if you use the default remote name)
After that you can do `git pull` or `git fetch` as usual.
If you have any questions, please post on -git@ list.
Best,
Li-Wen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUxtT9xz2UK%2B5RLcjFA7uvzzYQfNEG%2BmxLAYC8iwg5Wq_w>
