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