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>
This commit is contained in:
committed by
Junio C Hamano
parent
40222792fa
commit
21c7c2d92d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user