# git submodule status not describing modules

3 messages from 2008-03-12 to 2008-03-12. Participants: Sergio Callegari.
Thread: https://gitlist.dev/t/12649

## Sergio Callegari, 2008-03-12 15:21

Subject: git submodule status not describing modules
Message-ID: <loom.20080312T151743-186@post.gmane.org>
URL: https://gitlist.dev/e/loom.20080312T151743-186%40post.gmane.org

```
Hi,

in git 1.5.4.4, the git submodules manpage says that the status subcommand
should:


Show the status of the submodules. This will print the SHA-1 of the currently
checked out commit for each submodule, along with the submodule path and the
output of git-describe(1) for the SHA-1.

However, I cannot get the git-describe output.
If I remember properly, in previous versions of git, this was shown correctly.

Sergio
 

```

## Sergio Callegari, 2008-03-12 19:05

Subject: Re: git submodule status not describing modules
Message-ID: <loom.20080312T190414-286@post.gmane.org>
URL: https://gitlist.dev/e/loom.20080312T190414-286%40post.gmane.org
In-Reply-To: <loom.20080312T151743-186@post.gmane.org>

```
Nor I see any "+" sign when the checked out submodule differs from the submodule
recorded in the index of the super module.

```

## Sergio Callegari, 2008-03-12 19:15

Subject: Re: git submodule status not describing modules
Message-ID: <loom.20080312T191048-242@post.gmane.org>
URL: https://gitlist.dev/e/loom.20080312T191048-242%40post.gmane.org
In-Reply-To: <loom.20080312T190414-286@post.gmane.org>

```
... and it is because I have no url defined for the submodules.
Is there any particular reason for testing the url in cmd_status as in

if test -z "$url" || ! test -d "$path"/.git
                then
                        say "-$sha1 $path"
                        continue;
                fi

nothing in the following seems to depend on it.

```
