Re: [PATCH v5 1/2] add: add --ignore-submodules[=] parameter

2014-04-23 Thread Eric Sunshine
On Tue, Apr 22, 2014 at 5:12 PM, Ronald Weiss wrote: > Allow ignoring submodules (or not) by command line switch, like diff > and status do. > > This commit is also a prerequisite for the next one in series, which > adds the --ignore-submodules switch to git commit. That's why a new > argument is

[PATCH v5 1/2] add: add --ignore-submodules[=] parameter

2014-04-22 Thread Ronald Weiss
Allow ignoring submodules (or not) by command line switch, like diff and status do. This commit is also a prerequisite for the next one in series, which adds the --ignore-submodules switch to git commit. That's why a new argument is added to public function add_files_to_cache(), and it's call site