Skip to contentSkip to conversation

cg-update bug?

DISCUSSION walt 2 participants 4 messages Jun 15, 2016

lore
Share & tools
lore

walt

author
#0 lore raw

Hi Petr,

After this commit:
commit 476b0a8846f08fed436a393de42d1476c2d97c60
committer Petr Baudis <[email protected]> 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!

author
#1 lore raw
Quoted 2 lines · walt

...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?

#2 lore raw

Dear diary, on Sat, Jan 21, 2006 at 04:03:59PM CET, I got a letter where walt <[email protected]> said that...

Quoted 9 lines
Quoted 2 lines · walt

...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.

Signature · 5 lines
				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
author
#3 lore raw
Quoted 8 lines · Petr Baudis

Dear diary, on Sat, Jan 21, 2006 at 04:03:59PM CET, I got a letter where walt <[email protected]> said that...

Quoted 5 lines

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?

Quoted 4 lines

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)