git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Cogito] Fix cg-log -f behavior
@ 2005-05-26 20:03 Marcel Holtmann
  2005-05-26 20:18 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2005-05-26 20:03 UTC (permalink / raw)
  To: Petr Baudis; +Cc: GIT Mailing List

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

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 <marcel@holtmann.org>


[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 464 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-26 22:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 20:03 [PATCH Cogito] Fix cg-log -f behavior Marcel Holtmann
2005-05-26 20:18 ` Junio C Hamano
2005-05-26 20:35   ` Marcel Holtmann
2005-05-26 21:11     ` Junio C Hamano
2005-05-26 21:25       ` Marcel Holtmann
2005-05-26 21:38         ` [PATCH Cogito] Make ls-* output consistent with diff-* output format Junio C Hamano
2005-05-26 22:13       ` [PATCH Cogito] Fix cg-log -f behavior Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).