twosigma / git-meta

Repository for the git-meta project -- build your own monorepo using Git submodules
http://twosigma.github.io/git-meta
BSD 3-Clause "New" or "Revised" License
216 stars 50 forks source link

in open.js, get list of all submodules from index instead of commit #844

Closed shijinglu closed 2 years ago

shijinglu commented 2 years ago

this is to be consistent with previous behavior.

When a submodule is created:

  1. get list of subs from index can contain the new submodule
  2. get the list from HEAD commit won't include the submodule