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

Allow `git meta add -u` with no path #870

Closed gobisaTS closed 1 year ago

gobisaTS commented 1 year ago

If -u is provided to git meta add, do not require a path. This more closely matches the behavior of git add -u.

Output of git meta add:

Nothing specified, nothing added.
hint: Maybe you wanted to say 'git meta add .'?

Output of git add:

Nothing specified, nothing added.
hint: Maybe you wanted to say 'git add .'?
hint: Turn this message off by running
hint: "git config advice.addEmptyPathSpec false"