projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pretty.c: format string with truncate respects logOutputEncoding
[git]
/
tree-walk.c
diff --git
a/tree-walk.c
b/tree-walk.c
index
79dba1d
..
4dc86c7
100644
(file)
--- a/
tree-walk.c
+++ b/
tree-walk.c
@@
-37,7
+37,7
@@
static void decode_tree_entry(struct tree_desc *desc, const char *buf, unsigned
/* Initialize the descriptor entry */
desc->entry.path = path;
- desc->entry.mode =
mode
;
+ desc->entry.mode =
canon_mode(mode)
;
desc->entry.sha1 = (const unsigned char *)(path + len);
}