summaryrefslogtreecommitdiff
path: root/vcs-svn/repo_tree.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2017-08-22 17:01:34 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 10:41:24 -0700
commit21c7c2d92d4b107ca854d84d4cd4d86c7993089c (patch)
tree7f1a575f28bdfd57f8868c9db9283fa941a5e630 /vcs-svn/repo_tree.c
parent40222792fa4d872e7494668a16db82acc1809345 (diff)
vcs-svn: remove custom mode constants
In the rest of Git, these modes are spelled as S_IFDIR, S_IFREG | 0644, S_IFREG | 0755, and S_IFLNK. Use the same constants in svn-fe for simplicity and consistency. No functional change intended. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn/repo_tree.c')
-rw-r--r--vcs-svn/repo_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/repo_tree.c b/vcs-svn/repo_tree.c
index d77cb0ada7..1a6f32d7cb 100644
--- a/vcs-svn/repo_tree.c
+++ b/vcs-svn/repo_tree.c
@@ -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;