Re: Feature: add --force option to cg-push.
- From
Petr Baudis <pasky@suse.cz>
- Date
- Oct 17, 2006, 00:55 UTC
- Message-ID
- <20061017005515.GD20017@pasky.or.cz>
- In-Reply-To
- <452E437D.3070708@adelaide.edu.au>
Dear diary, on Thu, Oct 12, 2006 at 03:30:37PM CEST, I got a letter where Pierre Marc Dumuid <pierre.dumuid@adelaide.edu.au> said that...
Show 7 quoted lines
> If I cg-push on a remote branch after changing my mind about how I > wanted the branch ordered, it will complain and say "maybee you need to > update" > > I didn't know what to do, since I was on the "no" side of maybee. > > Here is a patch that adds the --force option for those people.
Thanks, I've committed a similar but different patch (with better description and handling local pushes as well). Please sign off your patches in the future.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)