Browse Source

detect git diff needs to be more agressive

Matthew Wang 12 years ago
parent
commit
966060f66f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/cdiff.py

+ 1
- 1
src/cdiff.py View File

@@ -310,7 +310,7 @@ class Udiff(Diff):
310 310
 class DiffParser(object):
311 311
 
312 312
     def __init__(self, stream):
313
-        for line in stream[:10]:
313
+        for line in stream[:20]:
314 314
             if line.startswith('+++ '):
315 315
                 self._type = 'udiff'
316 316
                 break