diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-26 22:38:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-26 22:38:19 -0700 |
commit | 3beb56bde63d1a10abc02ffe76c1f98d59ec0874 (patch) | |
tree | 69a2fa30848725866acfc359799bbfab5a2ce1d7 /diff.h | |
parent | 2fe18392f0355c80295b8b74b24fc817183d3752 (diff) | |
parent | b3fde6ccb1cbdd362dec19e317905f71528b3a53 (diff) | |
download | git-3beb56bde63d1a10abc02ffe76c1f98d59ec0874.tar.gz |
Merge branch 'jc/diff-no-no-index'
* jc/diff-no-no-index:
git diff --no-index: default to page like other diff frontends
git-diff: allow --no-index semantics a bit more
"git diff": do not ignore index without --no-index
diff-files: do not play --no-index games
tests: do not use implicit "git diff --no-index"
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -251,10 +251,6 @@ extern const char *diff_unique_abbrev(const unsigned char *, int); /* report racily-clean paths as modified */ #define DIFF_RACY_IS_MODIFIED 02 extern int run_diff_files(struct rev_info *revs, unsigned int option); -extern int setup_diff_no_index(struct rev_info *revs, - int argc, const char ** argv, int nongit, const char *prefix); -extern int run_diff_files_cmd(struct rev_info *revs, int argc, const char **argv); - extern int run_diff_index(struct rev_info *revs, int cached); extern int do_diff_cache(const unsigned char *, struct diff_options *); @@ -262,4 +258,6 @@ 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 **, int, const char *); + #endif /* DIFF_H */ |