Re: Bug in git rev-parse @{push}?

2016-11-03 Thread Chris Purcell
Will do, thanks! Meanwhile, I'll work around locally by changing off 'simple' in my config—if I can figure out how not to break everything in the process... On 3 November 2016 at 16:07, Jeff King wrote: > On Thu, Nov 03, 2016 at 03:59:13PM +0000, Chris Purcell wrote: > >

Re: Bug in git rev-parse @{push}?

2016-11-03 Thread Chris Purcell
>> Thanks, Jeff! If I remove the explicit configuration of remote.pushdefault >> = "origin", I get the same error message as you, so I suspect that's _not_ >> the default. > > That's really bizarre, because I get the same behavior with or without > it set. Not only that, but it shouldn't even come

Re: Bug in git rev-parse @{push}?

2016-11-03 Thread Chris Purcell
Resending to mailing list because Inbox is fighting with vger... On 3 November 2016 at 15:48, Chris Purcell wrote: > Thanks, Jeff! If I remove the explicit configuration of remote.pushdefault = > "origin", I get the same error message as you, so I suspect that's _not_ the

Bug in git rev-parse @{push}?

2016-11-03 Thread Chris Purcell
Hi folks, I think I have discovered a bug in rev-parse's handling of @{push}: $ git push Everything up-to-date $ git rev-parse @{push} fatal: cannot resolve 'simple' push to a single destination The documentation for rev-parse says that "the suffix @{push} reports the branch 'where we would push