I'm using drupal-composer/drupal-project.
installer-paths in composer.json installs core in web/core, it doesn't clone a full git repository.
I'd like a full repository, so I can reroll a patch for core on my dev site, within the project it will be used on, without having to clone https://git.drupal.org/project/drupal.git and configure an entirely new project…
Is this even possible?
i.e. a modification to composer.json that will install core (or anything else for that matter) as a fully functional repository (i.e. with
.git directories) - so you can create new branches, run diffs against to generate patches, and so on.