fixes Issue #22

This commit is contained in:
Peter Cottle 2013-02-17 03:34:34 -08:00
parent 77d6c67e94
commit 84a9adea01
5 changed files with 15 additions and 3 deletions

View file

@ -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 = [

File diff suppressed because one or more lines are too long

2
build/bundle.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -409,7 +409,7 @@
For a much easier time perusing the source, see the individual files at:
https://github.com/pcottle/learnGitBranching
-->
<script src="build/bundle.min.4f9a5b87.js"></script>
<script src="build/bundle.min.ceebe29d.js"></script>
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
The downside? No raw logs to parse for analytics, so I have to include

View file

@ -624,6 +624,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 = [