Don't try squashing only one commit
This patch makes git rebase-update only try squashing when rebasing fails if there is more than one commit present in the branch it is rebasing. Squashing adds an extra step for the user when rebasing fails, and when there is only one commit, squashing is guaranteed not to help. Fixed: 1434450 Change-Id: I1952c1172dbf6a44060ed2da2d79ec07d67893d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5068315 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>changes/15/5068315/6
parent
911ccd864c
commit
0e40b92d9e
Loading…
Reference in New Issue