log --raw: Don't descend into subdirectories by default
authorTimo Hirvonen <tihirvon@gmail.com>
Tue, 27 Jun 2006 13:27:51 +0000 (16:27 +0300)
committerJunio C Hamano <junkio@cox.net>
Tue, 27 Jun 2006 18:04:16 +0000 (11:04 -0700)
Only do so when -r is given.

Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c

index 3b7574f6d62fde95a243e40cdc3eeb96f59a98d8..debddb97a09eba5ba926087f76ebd6da0e258e86 100644 (file)
@@ -79,7 +79,6 @@ int cmd_log(int argc, const char **argv, char **envp)
 
        init_revisions(&rev);
        rev.always_show_header = 1;
-       rev.diffopt.recursive = 1;
        cmd_log_init(argc, argv, envp, &rev);
        return cmd_log_walk(&rev);
 }