mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +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]) {
|
if (this.refs[ref]) {
|
||||||
return 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^^
|
// may be something like HEAD~2 or master^^
|
||||||
var relativeRefs = [
|
var relativeRefs = [
|
||||||
|
@ -19766,6 +19770,10 @@ GitEngine.prototype.resolveStringRef = function(ref) {
|
||||||
if (this.refs[ref]) {
|
if (this.refs[ref]) {
|
||||||
return 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^^
|
// may be something like HEAD~2 or master^^
|
||||||
var relativeRefs = [
|
var relativeRefs = [
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
build/bundle.min.js
vendored
2
build/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -409,7 +409,7 @@
|
||||||
For a much easier time perusing the source, see the individual files at:
|
For a much easier time perusing the source, see the individual files at:
|
||||||
https://github.com/pcottle/learnGitBranching
|
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 advantage of github pages: super-easy, simple, slick static hostic.
|
||||||
The downside? No raw logs to parse for analytics, so I have to include
|
The downside? No raw logs to parse for analytics, so I have to include
|
||||||
|
|
|
@ -624,6 +624,10 @@ GitEngine.prototype.resolveStringRef = function(ref) {
|
||||||
if (this.refs[ref]) {
|
if (this.refs[ref]) {
|
||||||
return 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^^
|
// may be something like HEAD~2 or master^^
|
||||||
var relativeRefs = [
|
var relativeRefs = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue