Merge branch 'tg/ls-files-debug-format-fix'
Debugging code fix. * tg/ls-files-debug-format-fix: ls-files: use correct format string
This commit is contained in:
commit
503f5809e8
@ -112,11 +112,11 @@ static void print_debug(const struct cache_entry *ce)
|
||||
if (debug_mode) {
|
||||
const struct stat_data *sd = &ce->ce_stat_data;
|
||||
|
||||
printf(" ctime: %d:%d\n", sd->sd_ctime.sec, sd->sd_ctime.nsec);
|
||||
printf(" mtime: %d:%d\n", sd->sd_mtime.sec, sd->sd_mtime.nsec);
|
||||
printf(" dev: %d\tino: %d\n", sd->sd_dev, sd->sd_ino);
|
||||
printf(" uid: %d\tgid: %d\n", sd->sd_uid, sd->sd_gid);
|
||||
printf(" size: %d\tflags: %x\n", sd->sd_size, ce->ce_flags);
|
||||
printf(" ctime: %u:%u\n", sd->sd_ctime.sec, sd->sd_ctime.nsec);
|
||||
printf(" mtime: %u:%u\n", sd->sd_mtime.sec, sd->sd_mtime.nsec);
|
||||
printf(" dev: %u\tino: %u\n", sd->sd_dev, sd->sd_ino);
|
||||
printf(" uid: %u\tgid: %u\n", sd->sd_uid, sd->sd_gid);
|
||||
printf(" size: %u\tflags: %x\n", sd->sd_size, ce->ce_flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user