On Mon, Jun 19, 2023 at 08:46:47AM -0000, Michael J Gruber wrote:
> > On Sun, Jun 18, 2023 at 09:16:28AM +0000, Mattia Verga via devel wrote:
> > (Also note 'fedpkg clone -B' option to use a separate subdirectory for
> > each branch, much more intuitive IMHO.)
>
> That creates a bunch of unrelated git repos. Maybe we should teach
> fedpkg to use current git's method for that, which is
> worktrees. That way you share not only the object store ("one fetch
> rules them all") but also config such as remote definitions (for
> forks) etc. The main worktree could be a main/rawhide checkout.

I actually thought it worked like this but I checked now and you're
right that it is creating multiple git repos.  In practice it's not a
huge problem, but worktrees would be better.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to