Respect --edit for `rbt land` with remote changes.
Review Request #7010 — Created March 5, 2015 and submitted — Latest diff uploaded
When using
rbt land
to apply a remote change from a review request, we
weren't respecting the--edit
flag, which meant that if a user wanted to
reformat the commit message (for example, wrapping to 80 columns), they'd have
to amend the commit later. I've added a check in thepatch
method to use
either-C
or-c
as appropriate.
Used
rbt land -r XXXX -e --dest master
and saw that it invoked my editor.