mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-31 08:04:40 +02:00
fixes Issue #22
This commit is contained in:
parent
77d6c67e94
commit
84a9adea01
5 changed files with 15 additions and 3 deletions
|
@ -8145,6 +8145,10 @@ GitEngine.prototype.resolveStringRef = function(ref) {
|
|||
if (this.refs[ref]) {
|
||||
return this.refs[ref];
|
||||
}
|
||||
// case insensitive also
|
||||
if (this.refs[ref.toUpperCase()]) {
|
||||
return this.refs[ref.toUpperCase()];
|
||||
}
|
||||
|
||||
// may be something like HEAD~2 or master^^
|
||||
var relativeRefs = [
|
||||
|
@ -19766,6 +19770,10 @@ GitEngine.prototype.resolveStringRef = function(ref) {
|
|||
if (this.refs[ref]) {
|
||||
return this.refs[ref];
|
||||
}
|
||||
// case insensitive also
|
||||
if (this.refs[ref.toUpperCase()]) {
|
||||
return this.refs[ref.toUpperCase()];
|
||||
}
|
||||
|
||||
// may be something like HEAD~2 or master^^
|
||||
var relativeRefs = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue