Make git cl gracefully handle Gerrit-side patchset edits |
|||
Issue descriptionUse case: - Author run: git cl upload - Reviewer use the Gerrit Web UI to make an edit, creating a new patchset - Author has to sync. The second step can be replaced with "Use Tricium's apply-fix button". Either way the handling is functionally equivalent for git-cl. Challenges: - User may have locally rebased against upstream in the meantime - Detection at upload vs explicit sync command - Handling dependent CLs (pipelined changes)
,
Aug 13
,
Aug 15
,
Oct 18
ftr, "git cl patch" has a mode, where it completely replaces contents of a branch associated with a CL. However, I think a better approach would be to get a new command: $ git cl sync which would get add a new commit on top of current branch with the diff between last uploaded patchset and what's currently in Gerrit. |
|||
►
Sign in to add a comment |
|||
Comment 1 by estaab@chromium.org
, Jun 20 2018