[libvirt] [jenkins-ci PATCH] Revert "local"

Daniel P. Berrangé berrange at redhat.com
Wed Mar 28 09:11:41 UTC 2018


On Wed, Mar 28, 2018 at 10:42:51AM +0200, Andrea Bolognani wrote:
> On Tue, 2018-03-27 at 20:48 +0200, Peter Krempa wrote:
> > On Tue, Mar 27, 2018 at 18:19:43 +0200, Andrea Bolognani wrote:
> > > This reverts commit c190e17fb8f689a0591dedded33d10cecafe3e20.
> > > 
> > > As the original commit message so eloquently explains, the
> > > diff contains the tweaks I need for my local setup and it was,
> > > of course, never supposed to be pushed :/
> > > 
> > > Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> > 
> > One of the actually useful things about the commit hook we have is that
> > if you don't sign-off the commit you can't push it. Thus you should not
> > sign-off commits which are not ready ...
> 
> Good point.
> 
> I've changed my setup to generate S-o-bs at format-patch time
> rather than commit time, so hopefully this won't happen again.

I wouldn't worry too much - accidents happen every now & then and there's
no foolproof way to avoid it. You don't want to uneccessarily complicate
your working dev workflow to avoid something that almost never happens.

Personally I try to avoid this kind of thing by never working on git
master, and using git stash for saving temporary hacks rather than
creating commits, or creating temporary throw away branches for quick
hacks

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list