diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-03-03 14:19:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-03 14:33:22 -0800 |
commit | 14e940d719e9d3250b802fbc975210dafaf896d8 (patch) | |
tree | 68cfa9a84ab1ddb464d01f603764f993a16a6171 /builtin/stripspace.c | |
parent | submodule summary: do not shift a non-existent positional variable (diff) | |
download | tgif-14e940d719e9d3250b802fbc975210dafaf896d8.tar.xz |
submodule summary: do not fail before the first commit
When "git status" collects changes for the index (usually relative to
HEAD), it compares the index with an empty tree when the repository does
not have an initial commit yet. "git submodule summary" is about asking
what submodule changes would be recorded if a commit is made right now,
and should do the same comparison to report all the added submodules,
instead of punting and being silent.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/stripspace.c')
0 files changed, 0 insertions, 0 deletions