On Thu, Dec 11, 2014 at 07:19:13PM -0500, Clebert Suconic wrote:
> Right but you can’t ever push -f on an apache branch. you can rebase as much 
> as you like .. and it’s awesome I agree…
> But others would lose reference if you rebased and pushed -f.. that’s why 
> it’s forbidden at the apache git.
> 
> And that’s why we are very careful on merging commits.

I agree, as it can cause issues for someone who wasn't expecting history
to have been fixed.

Way back in the day, on a previous project, we had a commit hook that
would reject merge commits, forcing the developer to fix their history
before pushing anything. Does Apache support such hooks in projects?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgp_XV0TUjtq5.pgp
Description: PGP signature

Reply via email to