def log_helper(all=False, extra_args=None):
 revs = []
 summaries = []
 args = []
 if extra_args:
  args = extra_args
 output = log(git, pretty=u'oneline', all=all, *args)
 for line in output.splitlines():
  match = REV_LIST_REGEX.match(line)
  if match:
   revs.append(match.group(1))
   summaries.append(match.group(2))
 return (revs, summaries)

def log_helper ( all = False , extra_args = None ) : revs = [ ] summaries = [ ] args = [ ] if extra_args : args = extra_args output = log ( git , pretty = u'oneline' , all = all , * args ) for line in output . splitlines ( ) : match = REV_LIST_REGEX . match ( line ) if match : revs . append ( match . group ( 1 ) ) summaries . append ( match . group ( 2 ) ) return ( revs , summaries )
return parallel arrays containing oids and summaries .