DescriptionAdd a --squash option to Gerrit uploads.
This makes uploading to Gerrit with `git cl` more similar to uploading to Rietveld, by uploading a squashed commit containing the diff to the newest common ancestor.
Uploaded commits are stored in refs/heads/git_cl_uploads/<branch> (and their commit message is used for the squash commit), which allows amending the commit message to change it on the uploaded CL, and looking through the reflog to find old uploaded versions.
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=294077
Patch Set 1 #Patch Set 2 : update #Patch Set 3 : tests #
Total comments: 6
Patch Set 4 : review #
Total comments: 2
Patch Set 5 : review #
Total comments: 2
Patch Set 6 : argh #
Total comments: 1
Messages
Total messages: 13 (3 generated)
|