Show More
@@ -553,10 +553,8 b' class queue(object):' | |||||
553 | for patchfn in patches: |
|
553 | for patchfn in patches: | |
554 | patchf = self.opener(patchfn, 'r') |
|
554 | patchf = self.opener(patchfn, 'r') | |
555 | # if the patch was a git patch, refresh it as a git patch |
|
555 | # if the patch was a git patch, refresh it as a git patch | |
556 | for line in patchf: |
|
556 | diffopts.git = any(line.startswith('diff --git') | |
557 | if line.startswith('diff --git'): |
|
557 | for line in patchf) | |
558 | diffopts.git = True |
|
|||
559 | break |
|
|||
560 | patchf.close() |
|
558 | patchf.close() | |
561 | return diffopts |
|
559 | return diffopts | |
562 |
|
560 |
General Comments 0
You need to be logged in to leave comments.
Login now