----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39410/#review105786 -----------------------------------------------------------
support/apply-reviews.py (lines 187 - 188) <https://reviews.apache.org/r/39410/#comment164438> Can we enhance it as following: ``` amend=options['no_amend'] ? '' : '-e' cmd = 'git commit --author \'{author}\' {amend} -am \'{message}\''\ .format(author=quote(data['author']), amend=amend, message=quote(data['message'])) ``` With this, we can now get rid of `amend_patch()`. This will speed up the process since we don't have to call `git commit --amend`. As we know, a call to `git commit --amend` without any staged file forces a full run of mesos-style.py, which can take several seconds. - Kapil Arya On Nov. 9, 2015, 10:32 a.m., Artem Harutyunyan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39410/ > ----------------------------------------------------------- > > (Updated Nov. 9, 2015, 10:32 a.m.) > > > Review request for mesos, Adam B, Joris Van Remoortere, Joseph Wu, Marco > Massenzio, and Vinod Kone. > > > Bugs: MESOS-3859 > https://issues.apache.org/jira/browse/MESOS-3859 > > > Repository: mesos > > > Description > ------- > > Added support for github to apply-reviews.py. > > > Diffs > ----- > > support/apply-reviews.py PRE-CREATION > > Diff: https://reviews.apache.org/r/39410/diff/ > > > Testing > ------- > > Tested with python 2.7 > > > Thanks, > > Artem Harutyunyan > >