diff options
Diffstat (limited to 'tree-walk.h')
-rw-r--r-- | tree-walk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tree-walk.h b/tree-walk.h index ae04b6417..ae7fb3a82 100644 --- a/tree-walk.h +++ b/tree-walk.h @@ -16,7 +16,7 @@ struct tree_desc { static inline const unsigned char *tree_entry_extract(struct tree_desc *desc, const char **pathp, unsigned int *modep) { *pathp = desc->entry.path; - *modep = canon_mode(desc->entry.mode); + *modep = desc->entry.mode; return desc->entry.sha1; } |