diff options
| author | Peter Kaestle <peter.kaestle@nokia.com> | 2020-01-24 11:34:04 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-01-27 10:14:00 -0800 |
| commit | 3b2885ec9ba0b1328858231c9f5095e7f85d9f23 (patch) | |
| tree | 72fe6c18f213372acc827d00b2cffa58917da059 /builtin/commit.c | |
| parent | t7400: add a testcase for submodule status on empty dirs (diff) | |
| download | git-3b2885ec9ba0b1328858231c9f5095e7f85d9f23.tar.gz git-3b2885ec9ba0b1328858231c9f5095e7f85d9f23.zip | |
submodule: fix status of initialized but not cloned submodules
Original bash helper for "submodule status" was doing a check for
initialized but not cloned submodules and prefixed the status with
a minus sign in case no .git file or folder was found inside the
submodule directory.
This check was missed when the original port of the functionality
from bash to C was done.
Signed-off-by: Peter Kaestle <peter.kaestle@nokia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
