New issue
Advanced search Search tips
Starred by 5 users

Issue metadata

Status: Released
Owner: ----
Closed: Jan 2015



Sign in to add a comment

Limit number of changes created in single push

Project Member Reported by sop@google.com, Sep 1 2010

Issue description

A user may be in the habit of making many small commits,
and then squashing those down before uploading to Gerrit.
If this is the case, we should warn them before creating
20 changes when they meant to create only 1, as abandoning
all of those changes is still painful to do in the UI.

Add a per-user preference that caps the number of new
changes we will create in a single push command.

If the number of new changes would exceed that limit:

  - abort early
  - tell the user they are over-limit
  - display the short-line description of each commit
  - tell the user how they can increase their limit

By default the limit should be 1 for new users.  Most
people are uploading one new change at a time.
 
Labels: FixedIn-2.11
Status: Submitted
https://gerrit-review.googlesource.com/#/c/58893/
Status: Released

Sign in to add a comment