Force pushes break everyone who has been pulling them down, and has the potential to stamp on other people's changes that they got in between the original push and the commit. That's more common in PST than for us in the EU, who can work across all three branches without race conditions surfacing. Generally.
It may be something retainable for emergencies (someone just commits a 200MB GPL JAR etc), but for minor things, no. If you want to change a commit text, it could always be rolled back (new commit) and then reapplied with a different message. > On 22 Apr 2016, at 20:07, Owen O'Malley <omal...@apache.org> wrote: > > In my opinion, prohibiting forced updates causes more pain than it helps. > > The much more important part is that someone should make tags for the > recent releases in the "rel/*" namespace so that they can't be modified. > I'd suggest at least: > > release-2.6.4 > release-2.7.2 > > .. Owen > > On Fri, Apr 22, 2016 at 11:29 AM, Karthik Kambatla <ka...@cloudera.com> > wrote: > >> Recent changes to branch policies have affected this. Our trunk seems >> protected, but not branch-* branches. I had filed INFRA-11236 to address >> this. I can't ping on the JIRA anymore because comments from >> non-contributors are disabled. >> >> To prevent unintentional major messes, it is highly recommended we don't >> force push. For JIRA ID mistakes in commit messages, we have been filing >> another (possibly empty) commit that just says there was a mistake. e.g. >> something along the lines of "Mistakenly committed HADOOP-13011 as >> HADOOP-13001." >> >> On Thu, Apr 21, 2016 at 9:42 PM, larry mccay <lmc...@apache.org> wrote: >> >>> I believe that he squashed my attempted --amend into a single commit on >>> branch-2.8. >>> Not sure about trunk and branch-2. >>> >>> Thanks for the clarification on the formatting. >>> I will comply in the future. >>> >>> For such issues, is a dev@ email first better than trying to "fix" it? >>> >>> Again, sorry for the inconvenience. >>> >>> On Fri, Apr 22, 2016 at 12:10 AM, Andrew Wang <andrew.w...@cloudera.com> >>> wrote: >>> >>>> What does "fix" mean? We aren't supposed to force push to non-feature >>>> branches, and actually thought this was disabled. >>>> >>>> Also FYI for the future, we normally format our commit messages with >>>> periods, e.g.: >>>> >>>> HADOOP-13011. Clearly Document the Password Details for Keystore-based >>>> Credential Providers. >>>> >>>> >>>> On Thu, Apr 21, 2016 at 8:26 PM, larry mccay <lmc...@apache.org> >> wrote: >>>> >>>>> All - >>>>> >>>>> My first hadoop commit for HADOOP-13011 inadvertently referenced the >>>> wrong >>>>> JIRA (HADOOP-13001) in the commit message. >>>>> >>>>> Owen O'Malley helped me out by fixing the history on all 3 branches: >>>> trunk, >>>>> branch-2, branch-2.8. The message is correct now in the current >> history >>>> but >>>>> you may need to rebase to the current history for things to align >>>> properly. >>>>> >>>>> I apologize for the inconvenience. >>>>> >>>>> thanks, >>>>> >>>>> --larry >>>>> >>>> >>> >>