diff --relative: output paths as relative to the current subdirectory
[gitweb.git] / tree-walk.h
index 903a7b0f483fec5cbb6c6b372ab49cc28b655e75..db0fbdc701f1ef63cdc1a8b7d5c5e72322f91426 100644 (file)
@@ -7,13 +7,6 @@ struct name_entry {
        unsigned int mode;
 };
 
-static inline enum object_type object_type(unsigned int mode)
-{
-       return S_ISDIR(mode) ? OBJ_TREE :
-               S_ISGITLINK(mode) ? OBJ_COMMIT :
-               OBJ_BLOB;
-}
-
 struct tree_desc {
        const void *buffer;
        struct name_entry entry;