[Libvir] [PATCH 2/4] Convert TAB-based indentation in .[ch] files to spaces

Jim Meyering jim at meyering.net
Thu Apr 10 15:44:35 UTC 2008


	Convert TAB-based indentation in .[ch] files to use only spaces.
	Done using this command (also includes .c.in and .h.in files):
	for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do
	  expand -i $i > j && mv j $i;done

---
 docs/examples/info1.c               |    8 +-
 docs/examples/suspend.c             |   88 +-
 include/libvirt/libvirt.h           |  208 +++---
 include/libvirt/libvirt.h.in        |  208 +++---
 include/libvirt/virterror.h         |    8 +-
 proxy/libvirt_proxy.c               |  652 +++++++-------
 python/libvir.c                     |   34 +-
 python/libvirt_wrap.h               |   10 +-
 qemud/remote_dispatch_proc_switch.h | 1296 +++++++++++++-------------
 qemud/remote_protocol.c             | 1712 +++++++++++++++++-----------------
 qemud/remote_protocol.h             |  890 +++++++++---------
 src/buf.c                           |   54 +-
 src/conf.c                          |  324 ++++----
 src/conf.h                          |   14 +-
 src/driver.h                        |  260 +++---
 src/event.h                         |   10 +-
 src/hash.h                          |    8 +-
 src/internal.h                      |   18 +-
 src/libvirt.c                       |  174 ++--
 src/lxc_conf.c                      |   34 +-
 src/openvz_conf.c                   |   82 +-
 src/openvz_driver.h                 |   12 +-
 src/proxy_internal.c                |  244 +++---
 src/proxy_internal.h                |   26 +-
 src/qemu_conf.c                     |    2 +-
 src/qemu_driver.c                   |   10 +-
 src/qparams.h                       |    2 +-
 src/remote_internal.c               |    8 +-
 src/sexpr.c                         |    4 +-
 src/stats_linux.h                   |    6 +-
 src/util-lib.c                      |   56 +-
 src/util.c                          |    8 +-
 src/util.h                          |   14 +-
 src/uuid.h                          |    4 +-
 src/virsh.c                         |   66 +-
 src/virterror.c                     |  356 ++++----
 src/xen_internal.c                  |  212 +++---
 src/xen_internal.h                  |   72 +-
 src/xen_unified.c                   |   52 +-
 src/xen_unified.h                   |   74 +-
 src/xend_internal.c                 |   88 +-
 src/xend_internal.h                 |   32 +-
 src/xm_internal.c                   |   50 +-
 src/xm_internal.h                   |    2 +-
 src/xml.c                           |   12 +-
 src/xml.h                           |   54 +-
 src/xmlrpc.c                        |  528 ++++++------
 src/xmlrpc.h                        |   20 +-
 src/xs_internal.c                   |   90 +-
 src/xs_internal.h                   |   34 +-
 tests/conftest.c                    |   10 +-
 tests/nodeinfotest.c                |    2 +-
 tests/reconnect.c                   |   16 +-
 tests/sexpr2xmltest.c               |  166 ++--
 tests/virshtest.c                   |   98 +-
 tests/xencapstest.c                 |  114 ++--
 tests/xml2sexprtest.c               |  244 +++---
 tests/xmlrpctest.c                  |   30 +-
 58 files changed, 4455 insertions(+), 4455 deletions(-)

I'll refrain from bombing the list with 15K lines of
automatically-generated changes.

Run the command above and then do "git diff" is you want
to see the actual diffs.




More information about the libvir-list mailing list