builtin format-patch: squelch content-type for 7-bit ASCII
[gitweb.git] / pager.c
diff --git a/pager.c b/pager.c
index f7b8e78712bbce2d4915ee9ff8a72cfbbef008c5..9a30939016620072f319b5fef81d0c913513a641 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -21,7 +21,7 @@ void setup_pager(void)
                return;
        if (!pager)
                pager = "less";
-       else if (!*pager)
+       else if (!*pager || !strcmp(pager, "cat"))
                return;
 
        if (pipe(fd) < 0)