Re: [PATCH] push --force-with-lease: Fix ref status reporting

2016-01-25 Thread Andrew Wheeler
On Mon, Jan 25, 2016 at 1:37 PM, Junio C Hamano wrote: > >* passing the --force argument > > + * > > This new blank line is probably unwanted. > Do we want to make sure that other people will not break this fix in > the future by adding a few tests, perhaps to t

Re: [PATCH] push --force-with-lease: Fix ref status reporting

2016-01-25 Thread Junio C Hamano
Andrew Wheeler writes: > From: Andrew Wheeler > > The --force--with-lease push option leads to less > detailed status information than --force. In particular, > the output indicates that a reference was fast-forwarded, > even when it was force-updated. > > Modify the --force-with-lease ref statu

[PATCH] push --force-with-lease: Fix ref status reporting

2016-01-20 Thread Andrew Wheeler
From: Andrew Wheeler The --force--with-lease push option leads to less detailed status information than --force. In particular, the output indicates that a reference was fast-forwarded, even when it was force-updated. Modify the --force-with-lease ref status logic to leverage the --force ref sta