[parted-devel] nuke trailing blanks *without* inducing conflicts

Otavio Salvador otavio at debian.org
Fri Mar 6 19:51:38 UTC 2009


Jim Meyering <jim at meyering.net> writes:

> If anyone complains that their patches no longer apply,
> remember this:
>
>     However, if you
>     have an existing change, patch, branch etc. against the old TB-afflicted
>     sources, you can easily adjust it to apply to the new, TB-cleaned
>     sources.  Just filter it through this:
>
>         perl -pe 's/[ \t]+$//'
>
>     then it will apply just as well to the post-cleanup code as the
>     original applied to the pre-cleanup code.

When you say "filter it" you mean pass it thorugh git filter-branch or
any other way?

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list