From: Marcel Holtmann Date: Thu, 26 May 2005 20:03:46 GMT Subject: [PATCH Cogito] Fix cg-log -f behavior Message-ID: <1117137826.12036.57.camel@pegasus> Hi Petr, the attached patch fixes the wrong behavior when calling cg-log -f. The output format of git-diff-tree has changed and so we need to adapt to that to be able to show the file list again. Regards Marcel Signed-off-by: Marcel Holtmann Index: cg-log =================================================================== --- afc7419cdf2909781fa5dd9d57ea90738e515126/cg-log (mode:100755) +++ uncommitted/cg-log (mode:100755) @@ -78,7 +78,7 @@ list_cmd="git-diff-tree -r $tree1 $tree2" fi echo - $list_cmd | while read modes type sha1s file; do + $list_cmd | while read mode1 mode2 sha1a sha1b status file; do echo -n "$sep" sep=", " if [ $(echo "$line$sep$file" | wc -c) -le 75 ]; then