summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/git-un-diff-whitespace2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git-un-diff-whitespace b/bin/git-un-diff-whitespace
index 0431c80..6338a47 100755
--- a/bin/git-un-diff-whitespace
+++ b/bin/git-un-diff-whitespace
@@ -4,7 +4,7 @@ import os,sys,re,subprocess
hunk_re = re.compile(r'^@@ -\d+,\d+ \+(\d+),(\d+) @@')
ws_re = re.compile(r'^(.*?)[ \t]+$')
-file_re = re.compile(r'^\+\+\+ b/(.+)')
+file_re = re.compile(r'^\-\-\- b/(.+)')
def strip_whitespace_regions(filename, hunks):
if len(hunks) == 0: