nqminhuit / gis

Java Command Line Application which extends Git for supporting git-modules
1 stars 0 forks source link

gis fo <branch> hanged when submodules is at that <branch> #44

Closed nqminhuit closed 2 weeks ago

nqminhuit commented 1 year ago
$ gis fo develop
system
  WARNING: Could not perform on module: 'system'
log
  WARNING: Could not perform on module: 'log'
product
  WARNING: Could not perform on module: 'product'
api
domain
scheduler
  WARNING: Could not perform on module: 'scheduler'
grpc
  WARNING: Could not perform on module: 'grpc'
...
<hanging....>
...
^C
nqminhuit commented 2 weeks ago

It seems switching to Virtual Threads solves this issue: given:

14:45:23> gis
small-git-app test1
small-git-api test1
small-git-root-module master
small-git-shared master new-file-readm
small-git-domain test1 file-in-test.sh text-1 text-8
small-git-craft master
small-git-schema master text-2
fantastic-octo-chainsaw master text-1 text-22 text-40 text-9
literate-octo-invention master
studious-eureka master
silver-tribble master
(fetched at: 14:36:07 22/06/2024)

then:

14:45:46> gis fo test1
fantastic-octo-chainsaw
  WARNING: Could not perform on module: 'fantastic-octo-chainsaw'
small-git-shared
  WARNING: Could not perform on module: 'small-git-shared'
small-git-domain
  WARNING: Could not perform on module: 'small-git-domain'
small-git-craft
  WARNING: Could not perform on module: 'small-git-craft'
silver-tribble
  WARNING: Could not perform on module: 'silver-tribble'
literate-octo-invention
  WARNING: Could not perform on module: 'literate-octo-invention'
small-git-api
  WARNING: Could not perform on module: 'small-git-api'
small-git-app
  WARNING: Could not perform on module: 'small-git-app'
studious-eureka
  WARNING: Could not perform on module: 'studious-eureka'
small-git-schema
  WARNING: Could not perform on module: 'small-git-schema'
small-git-root-module
  WARNING: Could not perform on module: 'small-git-root-module'
14:45:24> gis fo master
small-git-api
small-git-craft
  WARNING: Could not perform on module: 'small-git-craft'
silver-tribble
  WARNING: Could not perform on module: 'silver-tribble'
literate-octo-invention
  WARNING: Could not perform on module: 'literate-octo-invention'
small-git-schema
  WARNING: Could not perform on module: 'small-git-schema'
fantastic-octo-chainsaw
  WARNING: Could not perform on module: 'fantastic-octo-chainsaw'
small-git-app
studious-eureka
  WARNING: Could not perform on module: 'studious-eureka'
small-git-shared
  WARNING: Could not perform on module: 'small-git-shared'
small-git-domain
small-git-root-module
  WARNING: Could not perform on module: 'small-git-root-module'