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
220 stars 51 forks source link

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

Closed shijinglu closed 3 years ago

shijinglu commented 3 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