mcc,
@mcc@mastodon.social avatar

Just confirming this because git sometimes adds features without me knowing it:

Say you have git repo A,
which has a submodule B,
which has a submodule C.

I want to alter C and use a patched version.

The only way to do this is to fork both C and B and create unique commits for both of them, right? There's no way for A to say "regardless of what B thinks it wants, override the hash of C"?

aeva,
@aeva@mastodon.gamedev.place avatar

@mcc I thiiiink this is one of the things that nix can do if C is split out into a separate dependency.

ryanprior,
@ryanprior@mastodon.social avatar

@mcc Guix has a feature like this, but git does not as far as I know.

shironeko,
@shironeko@fedi.tesaguri.club avatar

@mcc pretty sure you can just checkout the patched version in C locally

mcc,
@mcc@mastodon.social avatar

@shironeko I would like my version control system to check out the same files on every computer I check out on, however

evan,
@evan@cosocial.ca avatar

@mcc are you in some kind of technology masochism cult?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • thenastyranch
  • cubers
  • ethstaker
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • GTA5RPClips
  • JUstTest
  • khanakhh
  • normalnudes
  • osvaldo12
  • cisconetworking
  • provamag3
  • Durango
  • tacticalgear
  • modclub
  • Leos
  • megavids
  • tester
  • anitta
  • lostlight
  • All magazines