]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-commit.c
Fix about-formatting.sh
[ps-cgit] / ui-commit.c
index a5a6ea83c8e1049ccd3d4bca5649467fe2c7e916..aa1892f630a7f2fce1c97deeb8d5bfc034b38a16 100644 (file)
@@ -1,6 +1,6 @@
 /* ui-commit.c: generate commit view
  *
- * Copyright (C) 2006 Lars Hjemli
+ * Copyright (C) 2006-2014 cgit Development Team <cgit@lists.zx2c4.com>
  *
  * Licensed under GNU General Public License v2
  *   (see COPYING for full license text)
@@ -137,7 +137,7 @@ void cgit_print_commit(char *hex, const char *prefix)
                        tmp = sha1_to_hex(commit->parents->item->object.sha1);
                else
                        tmp = NULL;
-               cgit_print_diff(ctx.qry.sha1, tmp, prefix, 0);
+               cgit_print_diff(ctx.qry.sha1, tmp, prefix, 0, 0);
        }
        strbuf_release(&notes);
        cgit_free_commitinfo(info);