1. 17 7月, 2007 1 次提交
  2. 03 5月, 2007 1 次提交
    • H
      cleanpatch: a script to clean up stealth whitespace added by a patch · 6e019b00
      H. Peter Anvin 提交于
      This script is a companion to the "cleanfile" script.  This cleans
      up a patch in unified diff format *before* it is applied.  Note that
      the empty lines at the end of file detection *requires* that the diff was
      taken with at least one line of context around each hunk, or bad things
      will happen.
      
      This script cleans up various classes of stealth whitespace.  In
      particular, it cleans up:
      
      - Whitespace (spaces or tabs)before newline;
      - DOS line endings (CR before LF);
      - Space before tab (spaces are deleted or converted to tabs);
      - Empty lines at end of file.
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      6e019b00