git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
2f1a50d
)
Convert all TABs-as-indentation to spaces.
author
Jim Meyering
<meyering@redhat.com>
Mon, 3 Aug 2009 15:10:13 +0000
(11:10 -0400)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 3 Aug 2009 15:17:57 +0000
(17:17 +0200)
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 : $_'
No differences found