summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-22 09:43:00 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-22 09:43:00 (GMT)
commite09ad6e1e3308fde346b4b6287d9441363806832 (patch)
tree7202295e12f336f86b9aec05ccf41271c1f2f389 /diff.h
parent6973dcaee76ef7b7bfcabd2f26e76205aae07858 (diff)
downloadgit-e09ad6e1e3308fde346b4b6287d9441363806832.zip
git-e09ad6e1e3308fde346b4b6287d9441363806832.tar.gz
git-e09ad6e1e3308fde346b4b6287d9441363806832.tar.bz2
Libify diff-index.
The second installment to libify diff brothers. The pathname arguments are checked more strictly than before because we now use the revision.c::setup_revisions() infrastructure. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index da4bd42..837d449 100644
--- a/diff.h
+++ b/diff.h
@@ -171,4 +171,6 @@ extern const char *diff_unique_abbrev(const unsigned char *, int);
extern int run_diff_files(struct rev_info *revs, int silent_on_removed);
+extern int run_diff_index(struct rev_info *revs, int cached, int match_missing);
+
#endif /* DIFF_H */