# [bug] submodule --update insufficiently verbose

2 messages from 2012-01-08 to 2012-01-10. Participants: Dave Abrahams, Thomas Rast.
Thread: https://gitlist.dev/t/29314

## Dave Abrahams, 2012-01-08 02:33

Subject: [bug] submodule --update insufficiently verbose
Message-ID: <m239bqnctf.fsf@pluto.luannocracy.com>
URL: https://gitlist.dev/e/m239bqnctf.fsf%40pluto.luannocracy.com

```

When a "git submodule --update" fails, e.g., due to a dirty working
directory in one of the submodules, nothing is printed out indicating
the submodule or directory in which the failure occurred.  This seems
like a usability bug to me.

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

```

## Thomas Rast, 2012-01-10 10:43

Subject: Re: [bug] submodule --update insufficiently verbose
Message-ID: <87k44zj0s3.fsf@thomas.inf.ethz.ch>
URL: https://gitlist.dev/e/87k44zj0s3.fsf%40thomas.inf.ethz.ch
In-Reply-To: <m239bqnctf.fsf@pluto.luannocracy.com>

```
Dave Abrahams <dave@boostpro.com> writes:

> When a "git submodule --update" fails, e.g., due to a dirty working
> directory in one of the submodules, nothing is printed out indicating
> the submodule or directory in which the failure occurred.  This seems
> like a usability bug to me.

I assume you mean 'git submodule update'.  What git version is this, and
how do you reproduce?  I get a message like

  error: Your local changes to the following files would be overwritten by checkout:
          foo
  Please, commit your changes or stash them before you can switch branches.
  Aborting
  Unable to checkout '1fac3675a8c65b14e0a98e0136b5c43db97706fe' in submodule path 'sub'

in a simple test.  I am using a development version, but a brief glance
at the history seems to indictate that the 'Unable to ... in submodule
...' has always been there.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

```
