# cg-update bug?

4 messages from 2006-01-19 to 2006-01-21. Participants: walt, Petr Baudis.
Thread: https://gitlist.dev/t/3103

## walt, 2006-01-19 14:07

Subject: cg-update bug?
Message-ID: <dqo6fs$sr$1@sea.gmane.org>
URL: https://gitlist.dev/e/dqo6fs%24sr%241%40sea.gmane.org

```
Hi Petr,

After this commit:
commit 476b0a8846f08fed436a393de42d1476c2d97c60
committer Petr Baudis <xpasky@machine.or.cz> Sun, 15 Jan 2006 15:34:55
Make cg-fetch w/o -v be silent about the fetched changes altogether

cg-update is now also silent about fetched changes, but
there is no -v flag for cg-update.  Could it be added
so I can get the old behavior back?

Thanks!

```

## walt, 2006-01-21 15:03

Subject: Re: cg-update bug?
Message-ID: <dqtih0$i80$1@sea.gmane.org>
URL: https://gitlist.dev/e/dqtih0%24i80%241%40sea.gmane.org
In-Reply-To: <dqo6fs$sr$1@sea.gmane.org>

```
walt wrote:
> ...there is no -v flag for cg-update.  Could it be added
> so I can get the old behavior back?

Thanks for adding the flag, Petr.  I tried it on git and
the kernel this morning, and in each case cg-update -v
printed the name of only one file.  From looking at the
logs I'm pretty sure there were multiple files updated,
not just one.  Does it print all filenames for you?

```

## Petr Baudis, 2006-01-21 20:35

Subject: Re: cg-update bug?
Message-ID: <20060121203519.GN28365@pasky.or.cz>
URL: https://gitlist.dev/e/20060121203519.GN28365%40pasky.or.cz
In-Reply-To: <dqtih0$i80$1@sea.gmane.org>

```
Dear diary, on Sat, Jan 21, 2006 at 04:03:59PM CET, I got a letter
where walt <wa1ter@myrealbox.com> said that...
> walt wrote:
> > ...there is no -v flag for cg-update.  Could it be added
> > so I can get the old behavior back?
> 
> Thanks for adding the flag, Petr.  I tried it on git and
> the kernel this morning, and in each case cg-update -v
> printed the name of only one file.  From looking at the
> logs I'm pretty sure there were multiple files updated,
> not just one.  Does it print all filenames for you?

It prints all the filenames for me, but only the fetched ones. If you
fetched without merge earlier, it will list only the newly fetched
stuff. That is rather confusing, so now I added also cg-merge -v and
cg-update will pass its -v to cg-merge instead of cg-fetch.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe.  -- Douglas Adams

```

## walt, 2006-01-21 21:59

Subject: Re: cg-update bug?
Message-ID: <dquas0$t5t$1@sea.gmane.org>
URL: https://gitlist.dev/e/dquas0%24t5t%241%40sea.gmane.org
In-Reply-To: <20060121203519.GN28365@pasky.or.cz>

```
Petr Baudis wrote:
> Dear diary, on Sat, Jan 21, 2006 at 04:03:59PM CET, I got a letter
> where walt <wa1ter@myrealbox.com> said that...
>> Thanks for adding the flag, Petr.  I tried it on git and
>> the kernel this morning, and in each case cg-update -v
>> printed the name of only one file.  From looking at the
>> logs I'm pretty sure there were multiple files updated,
>> not just one.  Does it print all filenames for you?

> It prints all the filenames for me, but only the fetched ones. If you
> fetched without merge earlier, it will list only the newly fetched
> stuff. That is rather confusing, so now I added also cg-merge -v and
> cg-update will pass its -v to cg-merge instead of cg-fetch.

Well, I was anxious to try your new changes so I did cg-update on
your cogito repository and I saw *six* updated files print out.

I guess that both git and the kernel really did have only *one*
updated file this morning, after all.  A really bizarre coincidence!
Thanks again for the update, and I hope your exam went well :o)

```
