git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de32838
)
Output list-only sizes using any human-readable setting.
author
Wayne Davison
<wayned@samba.org>
Sat, 26 Jun 2010 17:00:29 +0000
(10:00 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 26 Jun 2010 17:00:29 +0000
(10:00 -0700)
generator.c
patch
|
blob
|
history
diff --git
a/generator.c
b/generator.c
index c0bffb2efb5c187a662a2efd590d1ec579511950..078b9d4d3cb17269041f0d578b445822f23180ed 100644
(file)
--- 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));
}
}