diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2014-02-24 20:21:45 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-26 14:30:47 -0700 |
commit | ad6f3cc7d2eaec5247b39e9dca8e55a0f98123e7 (patch) | |
tree | 005ab8506bf03b378044430d699be8b409f97be5 /diff.h | |
parent | 6ca844e9f5ca93efd0a1323a9c9aaa882c0043e8 (diff) | |
download | git-ad6f3cc7d2eaec5247b39e9dca8e55a0f98123e7.tar.gz |
tree-diff: diff_tree() should now be static
We reworked all its users to use the functionality through
diff_tree_sha1 variant in recent patches (see "tree-diff: allow
diff_tree_sha1 to accept NULL sha1" and what comes next).
diff_tree() is now not used outside tree-diff.c - make it static.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -189,8 +189,6 @@ const char *diff_line_prefix(struct diff_options *); extern const char mime_boundary_leader[]; -extern int diff_tree(struct tree_desc *t1, struct tree_desc *t2, - const char *base, struct diff_options *opt); extern int diff_tree_sha1(const unsigned char *old, const unsigned char *new, const char *base, struct diff_options *opt); extern int diff_root_tree_sha1(const unsigned char *new, const char *base, |