Lines Matching full:diff
3 #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===#
13 ClangFormat Diff Reformatter
16 This script reads input from a unified diff and reformats all the changed
20 git diff -U0 HEAD^ | clang-format-diff.py -p1 -i
21 svn diff --diff-cmd=diff -x-U0 | clang-format-diff.py -i
40 'Reformat changed lines in diff. Without -i '
41 'option just output the diff that would be '
44 help='apply edits to files instead of displaying a diff')
108 diff = difflib.unified_diff(code, formatted_code,
111 diff_string = string.join(diff, '')