
Friends I see this bash$ git status On branch wip/romes/ttg-splices-improvements Your branch is up to date with 'origin/wip/romes/ttg-splices-improvements'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules) modified: libraries/Cabal (modified content) modified: libraries/unix (modified content) But I don't want those library changes, whatever they are. They look like Unstaged changes (2) modified libraries/Cabal @@ -1 +1 @@ -Subproject commit d638e33dbc056048b393964286c7fe394b2730d7 +Subproject commit d638e33dbc056048b393964286c7fe394b2730d7-dirty modified libraries/unix @@ -1 +1 @@ -Subproject commit 1f72ccec55c1b61299310b994754782103a617f5 +Subproject commit 1f72ccec55c1b61299310b994754782103a617f5-dirty *But using git submodule update does nothing.* How can I get my submodules in sync with this branch? Thanks Simon

On Wed, Apr 06, 2022 at 10:55:09PM +0100, Simon Peyton Jones wrote:
I see this bash$ git status On branch wip/romes/ttg-splices-improvements Your branch is up to date with 'origin/wip/romes/ttg-splices-improvements'.
modified libraries/Cabal +Subproject commit d638e33dbc056048b393964286c7fe394b2730d7-dirty modified libraries/unix +Subproject commit 1f72ccec55c1b61299310b994754782103a617f5-dirty
How can I get my submodules in sync with this branch?
( cd libraries/Cabal && { git clean -xdf .; git checkout .; } ) ( cd libraries/unix && { git clean -xdf .; git checkout .; } ) -- Viktor.

Thanks Viktor -- I'll try that
Simon
On Thu, 7 Apr 2022 at 01:37, Viktor Dukhovni
On Wed, Apr 06, 2022 at 10:55:09PM +0100, Simon Peyton Jones wrote:
I see this bash$ git status On branch wip/romes/ttg-splices-improvements Your branch is up to date with 'origin/wip/romes/ttg-splices-improvements'.
modified libraries/Cabal +Subproject commit d638e33dbc056048b393964286c7fe394b2730d7-dirty modified libraries/unix +Subproject commit 1f72ccec55c1b61299310b994754782103a617f5-dirty
How can I get my submodules in sync with this branch?
( cd libraries/Cabal && { git clean -xdf .; git checkout .; } ) ( cd libraries/unix && { git clean -xdf .; git checkout .; } )
-- Viktor. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Simon Peyton Jones
-
Viktor Dukhovni