Re: [BUG] git show <remote>: bad information: Local ref configured if push.default=tracking
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 13, 2010, 04:46 UTC
- Message-ID
- <20101113044656.GA7934@burratino>
- In-Reply-To
- <201011130144.oAD1iBeK022905@no.baka.org>
Seth Robertson wrote:
> I already had this turned on in my ~/.gitconfig. However, you bring > up a good point, the output as shown would be correct if the default > "matching" value was used.
Yep, the get_push_ref_states() function used by "git remote show" wasn't updated when the "[push] default" configuration item was introduced.
> For your test example: rather than sample output, could you
Sorry to make busy work. Your examples still would useful as a test script for anyone who wants to fix this.
Thanks again for the report.
Regards, Jonathan