1 def build_filter(args
):
5 def __init__(self
, args
):
6 if not args
in ['start','end']:
7 raise Exception('Cannot have branch name anywhere but start and end')
10 def commit_message_filter(self
,commit_data
):
11 if self
.pos
== 'start':
12 commit_data
['desc'] = commit_data
['branch'] + '\n' + commit_data
['desc']
14 commit_data
['desc'] = commit_data
['desc'] + '\n' + commit_data
['branch']