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
@@ -1,11 +1,6 @@
|
||||
#ifndef REPO_TREE_H_
|
||||
#define REPO_TREE_H_
|
||||
|
||||
#define REPO_MODE_DIR 0040000
|
||||
#define REPO_MODE_BLB 0100644
|
||||
#define REPO_MODE_EXE 0100755
|
||||
#define REPO_MODE_LNK 0120000
|
||||
|
||||
void svn_repo_copy(uint32_t revision, const char *src, const char *dst);
|
||||
const char *svn_repo_read_path(const char *path, uint32_t *mode_out);
|
||||
void svn_repo_delete(const char *path);
|
||||
|
||||
Reference in New Issue
Block a user