From: Wayne Davison Date: Sat, 26 Jun 2010 17:00:29 +0000 (-0700) Subject: Output list-only sizes using any human-readable setting. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/54504b8e4f0c23ca1044970c99f4902dbbc7b9f3?hp=de32838ea21e826bb529e982d3a369b5cbd0d791 Output list-only sizes using any human-readable setting. --- diff --git a/generator.c b/generator.c index c0bffb2e..078b9d4d 100644 --- a/generator.c +++ b/generator.c @@ -1032,7 +1032,7 @@ static void list_file_entry(struct file_struct *f) #ifdef SUPPORT_LINKS if (preserve_links && S_ISLNK(f->mode)) { rprintf(FINFO, "%s %*s %s %s -> %s\n", - permbuf, colwidth, comma_num(len), + permbuf, colwidth, human_num(len), timestring(f->modtime), f_name(f, NULL), F_SYMLINK(f)); } else @@ -1043,7 +1043,7 @@ static void list_file_entry(struct file_struct *f) f_name(f, NULL)); } else { rprintf(FINFO, "%s %*s %s %s\n", - permbuf, colwidth, comma_num(len), + permbuf, colwidth, human_num(len), timestring(f->modtime), f_name(f, NULL)); } }