Added a few examples to git-pull man page.
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 306bcd9807803f37dd742ff5c479c4875c454e03..ec94a96a5d02fe4204cc69f03de2966264378f75 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -754,6 +754,9 @@ void diff_setup(struct diff_options *options)
        options->line_termination = '\n';
        options->break_opt = -1;
        options->rename_limit = -1;
+
+       options->change = diff_change;
+       options->add_remove = diff_addremove;
 }
 
 int diff_setup_done(struct diff_options *options)