diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-03 11:10:13 -0400 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-03 17:17:57 +0200 |
commit | 2f1a50d81671810256dce0852e6b1e0810ac44af (patch) | |
tree | c6058422a2f177f7c55ddaa22e329699a9d21e20 /fish/time.c | |
parent | 72c829395bb6a4800516d4f535e18af48195585b (diff) | |
download | libguestfs-2f1a50d81671810256dce0852e6b1e0810ac44af.tar.gz libguestfs-2f1a50d81671810256dce0852e6b1e0810ac44af.tar.xz libguestfs-2f1a50d81671810256dce0852e6b1e0810ac44af.zip |
Convert all TABs-as-indentation to spaces.
Do it by running this command:
[exempted files are matched via .x-sc_TAB_in_indentation]
git ls-files \
| pcregrep -vf .x-sc_TAB_in_indentation \
| xargs pcregrep -l '^ *\t' \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
Diffstat (limited to 'fish/time.c')
-rw-r--r-- | fish/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/time.c b/fish/time.c index aae9afe0..ed00c18e 100644 --- a/fish/time.c +++ b/fish/time.c @@ -47,8 +47,8 @@ do_time (const char *cmd, int argc, char *argv[]) end_us = (int64_t) end_t.tv_sec * 1000000 + end_t.tv_usec; elapsed_us = end_us - start_us; printf ("elapsed time: %d.%02d seconds\n", - (int) (elapsed_us / 1000000), - (int) ((elapsed_us / 10000) % 100)); + (int) (elapsed_us / 1000000), + (int) ((elapsed_us / 10000) % 100)); return 0; } |