hadi-guang / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

repo should install a pre-rebase hook to prevent rebasing published work #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Reported by Shawn Pearce <sop@google.com> on Mon Feb 09 10:46:28 PST 2009
Source: JIRA REPO-7

The pre-rebase hook can be used to prevent a user from rebasing changes they
have published to Gerrit.

The refs/published/$branch tip can be used to see what has been published and
forbid rebasing those parts, but we need a way to clear out refs/published if
the change is rejected in Gerrit and the user really wants to do an amend or
rebase to address review comments.

Original issue reported on code.google.com by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:09

GoogleCodeExporter commented 8 years ago

Original comment by sop+code@google.com on 24 Sep 2009 at 11:11