Skip to content
  • Benoît Legat's avatar
    a8ae5e15
    Remove trailing whitespace from every file · a8ae5e15
    Benoît Legat a rédigé
    I carefully removed (but really quickly thanks to a regexp in vim)
    every trailing whitespace from every file (except images).
    Now,
    $ grep -G " $" * -r
    only returns images and
    $ git diff --ignore-space-at-eol
    comparing the changes I made to HEAD, or
    $ git log -p --ignore-space-at-eol
    does not print anything so I'm sure I haven't changed anything else.
    a8ae5e15
    Remove trailing whitespace from every file
    Benoît Legat a rédigé
    I carefully removed (but really quickly thanks to a regexp in vim)
    every trailing whitespace from every file (except images).
    Now,
    $ grep -G " $" * -r
    only returns images and
    $ git diff --ignore-space-at-eol
    comparing the changes I made to HEAD, or
    $ git log -p --ignore-space-at-eol
    does not print anything so I'm sure I haven't changed anything else.
Chargement en cours