diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-01-20 18:06:02 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-21 10:45:11 -0800 |
commit | e5f7a5d16f2c890e7dda96e5681ee8f6687b45e4 (patch) | |
tree | 74c029ffaf56b5fa433188f94fadc6d8cd9c1d82 /diff.h | |
parent | 833e48259e23aea76f3765d28d1b2200332301f7 (diff) | |
download | git-e5f7a5d16f2c890e7dda96e5681ee8f6687b45e4.tar.gz |
diff-no-index: do not take a redundant prefix argument
Prefix is already set up in "revs". The same prefix should be used for
all options parsing. So kill the last argument. This patch does not
actually change anything because the only caller does use the same
prefix for init_revisions() and diff_no_index().
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ extern int diff_flush_patch_id(struct diff_options *, unsigned char *); extern int diff_result_code(struct diff_options *, int); -extern void diff_no_index(struct rev_info *, int, const char **, const char *); +extern void diff_no_index(struct rev_info *, int, const char **); extern int index_differs_from(const char *def, int diff_flags); |