get_sha1() shorthands for blob/tree objects
[gitweb.git] / pager.c
diff --git a/pager.c b/pager.c
index e5ba2738b681387495b840d39dfeca920c865616..b063353d96eb6d526438c1fa22cacd28bc12b0c1 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -20,7 +20,7 @@ void setup_pager(void)
                return;
        if (!pager)
                pager = "less";
-       else if (!*pager)
+       else if (!*pager || !strcmp(pager, "cat"))
                return;
 
        if (pipe(fd) < 0)