Add a top_header for cases where a patchset might have a
full header that we may want users to keep around.
Cc: techtonik@gmail.com
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
# list of Patch objects
self.items = []
+ self.top_header = ""
self.errors = 0 # fatal parsing errors
self.warnings = 0 # non-critical warnings
if headscan:
while not fe.is_empty and not fe.line.startswith("--- "):
header.append(fe.line)
+ self.top_header += fe.line
fe.next()
if fe.is_empty:
if p == None: