summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-19 11:56:53 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-19 11:56:53 -0700
commitf3ab49db1b88b753fc628d7b241f20f73950e162 (patch)
tree02b64775f9879c7e7a875006be4248d48fb72df6
parentsha1_name.c: prepare to make get_tree_entry() reusable from others. (diff)
downloadtgif-f3ab49db1b88b753fc628d7b241f20f73950e162.tar.xz
sha1_name.c: no need to include diff.h; tree-walk.h will do.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--sha1_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c
index 35e8dfb9c7..7ad20b59f9 100644
--- a/sha1_name.c
+++ b/sha1_name.c
@@ -3,7 +3,7 @@
#include "commit.h"
#include "tree.h"
#include "blob.h"
-#include "diff.h"
+#include "tree-walk.h"
static int find_short_object_filename(int len, const char *name, unsigned char *sha1)
{