Re: [PATCH v2 1/3] rev-parse: match @{upstream}, @{u} and @{push} case-insensitively

2017-03-26 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > The ^{} suffix could be changed to be case-insensitive as well > without introducing any ambiguities. That was included in an earlier > version of this patch, but Junio objected to its inclusion in [2]. We try not to be personal in our log message. It's not li

[PATCH v2 1/3] rev-parse: match @{upstream}, @{u} and @{push} case-insensitively

2017-03-26 Thread Ævar Arnfjörð Bjarmason
Change the revision parsing logic to match @{upstream}, @{u} & @{push} case-insensitively. Before this change supplying anything except the lower-case forms emits an "unknown revision or path not in the working tree" error. This change makes upper-case & mixed-case versions equivalent to the lower