vcs-svn: remove custom mode constants
[git/git.git] / vcs-svn / repo_tree.c
index d77cb0a..1a6f32d 100644 (file)
@@ -19,7 +19,7 @@ const char *svn_repo_read_path(const char *path, uint32_t *mode_out)
                if (errno != ENOENT)
                        die_errno("BUG: unexpected fast_export_ls error");
                /* Treat missing paths as directories. */
-               *mode_out = REPO_MODE_DIR;
+               *mode_out = S_IFDIR;
                return NULL;
        }
        return buf.buf;