barrywardell / git-module

A tool for simplifying the management of git submodules
GNU Lesser General Public License v2.1
2 stars 0 forks source link

Make git-module commit work for individual submodules #11

Closed ianhinder closed 11 years ago

ianhinder commented 11 years ago

It would be useful to be able to run git module commit on selected submodules, like with the other commands. At the moment, giving git module commit an argument gives no error but commits all submodules.

ianhinder commented 11 years ago

Ah, it was just the log message it was wrong. Adding a --cached option to the git submodule summary command used to generate the log message makes it show the difference between HEAD and the index, which is what is about to be committed.

ianhinder commented 11 years ago

Fixed in a9a718d.