diff options
author | Sergey Nikishin <nordsturm@yandex-team.ru> | 2011-04-26 13:22:45 +0400 |
---|---|---|
committer | Sergey Nikishin <nordsturm@yandex-team.ru> | 2011-04-26 15:32:11 +0400 |
commit | 555ce568196f62558eb5a9084ba61add7e6b1ba1 (patch) | |
tree | 9ce931eeb7a73b1bc05e103ba149c538c616f755 /src/commit.c | |
parent | 7c37aa3ac5eecd0e725d0207c0507c4f6836c0eb (diff) | |
download | libgit2-555ce568196f62558eb5a9084ba61add7e6b1ba1.tar.gz |
Fix tree-entry attribute convertion (fix corrupted trees)
Magic constant replaced by direct to-string covertion because of:
1) with value length 6 (040000 - subtree) final tree will be corrupted;
2) for wrong values length <6 final tree will be corrupted too.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions