{"thread":{"id":"8286","subject":"[PATCH] Add another verbosity level to git-fetch","startedAt":"2007-05-23T21:31:13Z","lastAt":"2007-05-23T22:47:25Z","messageCount":3,"participants":["Alex Riesen","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"43052","messageId":"20070523213113.GF2554@steel.home","threadId":"8286","inReplyTo":null,"subject":"[PATCH] Add another verbosity level to git-fetch","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-05-23T21:31:13Z","receivedAt":"2007-05-23T21:31:13Z","isPatch":true,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Use \"-v -v\" to run git-fetch-pack in verbose mode.\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n---\n\nOtherwise there is no way to show connect messages for git-fetch\n\n git-fetch.sh |   10 ++++++++--\n 1 files changed, 8 insertions(+), 2 deletions(-)\n\ndiff --git a/git-fetch.sh b/git-fetch.sh\nindex 0e05cf1..6d3a346 100755\n--- a/git-fetch.sh\n+++ b/git-fetch.sh\n@@ -61,7 +61,7 @@ do\n \t\tquiet=--quiet\n \t\t;;\n \t-v|--verbose)\n-\t\tverbose=Yes\n+\t\tverbose=\"$verbose\"Yes\n \t\t;;\n \t-k|--k|--ke|--kee|--keep)\n \t\tkeep='-k -k'\n@@ -201,8 +201,14 @@ fetch_all_at_once () {\n \t\t\techo \"$ls_remote_result\" | \\\n \t\t\t\tgit-fetch--tool pick-rref \"$rref\" \"-\"\n \t\telse\n+\t\t\tflags=\n+\t\t\tcase $verbose in\n+\t\t\tYesYes*)\n+\t\t\t    flags=\"-v\"\n+\t\t\t    ;;\n+\t\t\tesac\n \t\t\tgit-fetch-pack --thin $exec $keep $shallow_depth \\\n-\t\t\t\t$quiet $no_progress \"$remote\" $rref ||\n+\t\t\t\t$quiet $no_progress $flags \"$remote\" $rref ||\n \t\t\techo failed \"$remote\"\n \t\tfi\n \tfi\n-- \n1.5.2.58.g7a94-dirty\n"},{"id":"43056","messageId":"7viraj1a2e.fsf@assigned-by-dhcp.cox.net","threadId":"8286","inReplyTo":"20070523213113.GF2554@steel.home","subject":"Re: [PATCH] Add another verbosity level to git-fetch","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-05-23T21:53:13Z","receivedAt":"2007-05-23T21:53:13Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Alex Riesen <raa.lkml@gmail.com> writes:\n\n> Use \"-v -v\" to run git-fetch-pack in verbose mode.\n>\n> Signed-off-by: Alex Riesen <raa.lkml@gmail.com>\n> ---\n>\n> Otherwise there is no way to show connect messages for git-fetch\n\nHow about just a single -v to do so?\n"},{"id":"43084","messageId":"20070523224725.GH2554@steel.home","threadId":"8286","inReplyTo":"7viraj1a2e.fsf@assigned-by-dhcp.cox.net","subject":"Re: [PATCH] Add another verbosity level to git-fetch","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-05-23T22:47:25Z","receivedAt":"2007-05-23T22:47:25Z","isPatch":true,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Junio C Hamano, Wed, May 23, 2007 23:53:13 +0200:\n> > Use \"-v -v\" to run git-fetch-pack in verbose mode.\n> >\n> > Signed-off-by: Alex Riesen <raa.lkml@gmail.com>\n> > ---\n> >\n> > Otherwise there is no way to show connect messages for git-fetch\n> \n> How about just a single -v to do so?\n> \n\nDunno, it looks too verbose for a single -v. Try it\n"}]}