diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2017-08-23 00:01:34 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-23 17:41:24 (GMT) |
commit | 21c7c2d92d4b107ca854d84d4cd4d86c7993089c (patch) | |
tree | 7f1a575f28bdfd57f8868c9db9283fa941a5e630 /vcs-svn/repo_tree.c | |
parent | 40222792fa4d872e7494668a16db82acc1809345 (diff) | |
download | git-21c7c2d92d4b107ca854d84d4cd4d86c7993089c.zip git-21c7c2d92d4b107ca854d84d4cd4d86c7993089c.tar.gz git-21c7c2d92d4b107ca854d84d4cd4d86c7993089c.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/repo_tree.c b/vcs-svn/repo_tree.c index d77cb0a..1a6f32d 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; |