diff options
Diffstat (limited to 'src/checkout.c')
| -rw-r--r-- | src/checkout.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/checkout.c b/src/checkout.c index 411bf3be7..40f5732ed 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -724,10 +724,8 @@ static int blob_content_to_file( error = buffer_to_file( st, &filtered, path, opts->dir_mode, opts->file_open_flags, file_mode); - if (!error) { - st->st_size = blob->odb_object->raw.len; + if (!error) st->st_mode = entry_filemode; - } cleanup: git_filters_free(&filters); |
