Add output flushing before fork()
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 75a8b166429aa6c9967b04152577f3ad0d67b20f..bd04fdfd283ce2e242b6f5c479452b36df8f5f86 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -1386,7 +1386,7 @@ static struct builtin_funcname_pattern {
                        "\\|"
                        "^\\(.*=[ \t]*\\(class\\|record\\).*\\)$"
                        },
-       { "tex", "^\\(\\\\\\(sub\\)*section{.*\\)$" },
+       { "tex", "^\\(\\\\\\(\\(sub\\)*section\\|chapter\\|part\\)\\*\\{0,1\\}{.*\\)$" },
        { "ruby", "^\\s*\\(\\(class\\|module\\|def\\)\\s.*\\)$" },
 };