{"thread":{"id":"601","subject":"[PATCH Cogito] Fix file list wrapping of cg-log","startedAt":"2005-05-13T11:25:49Z","lastAt":"2005-05-13T11:25:49Z","messageCount":1,"participants":["Marcel Holtmann"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"3242","messageId":"1115983549.18499.117.camel@pegasus","threadId":"601","inReplyTo":null,"subject":"[PATCH Cogito] Fix file list wrapping of cg-log","fromName":"Marcel Holtmann","fromEmail":"marcel@holtmann.org","sentAt":"2005-05-13T11:25:49Z","receivedAt":"2005-05-13T11:25:49Z","isPatch":true,"sender":{"key":"marcel@holtmann.org","avatar":null},"body":"Hi Petr,\n\nthe attached patch fixes the file list wrapping for the second and\nfollowing lines by adding two extra spaces. It also corrects the line\nwidth counting that is wrong after the first line break.\n\nRegards\n\nMarcel\n\n\nSigned-off-by: Marcel Holtmann <marcel@holtmann.org>\n\n\n\nIndex: cg-log\n===================================================================\n--- de641904363cd3759f132ee7c0dfaf8a2ee58388/cg-log  (mode:100755)\n+++ uncommitted/cg-log  (mode:100755)\n@@ -69,6 +69,7 @@\n {\n \ttree1=\"$1\"\n \ttree2=\"$2\"\n+\tline=\n \tsep=\"    * $colfiles\"\n \t# List all files for for the initial commit\n \tif [ -z $tree2 ]; then\n@@ -84,9 +85,9 @@\n \t\t\tline=\"$line$sep$file\"\n \t\t\techo -n \"$file\"\n \t\telse\n-\t\t\tline=\"$file\"\n+\t\t\tline=\"      $file\"\n \t\t\techo \"$coldefault\"\n-\t\t\techo -n \"    $colfiles$file\"\n+\t\t\techo -n \"      $colfiles$file\"\n \t\tfi\n \tdone\n \techo \"$coldefault:\"\n"}]}