mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
ammend on root node fixed
This commit is contained in:
parent
7ab6f26bef
commit
ba07683591
3 changed files with 20 additions and 3 deletions
|
@ -8,7 +8,7 @@ var CommandPromptView = Backbone.View.extend({
|
||||||
this.commandCursor = this.$('#prompt span.cursor')[0];
|
this.commandCursor = this.$('#prompt span.cursor')[0];
|
||||||
|
|
||||||
// this is evil, but we will refer to HTML outside the document
|
// this is evil, but we will refer to HTML outside the document
|
||||||
// and attach a click event listener
|
// and attach a click event listener so we can focus / unfocus
|
||||||
$(document).delegate('#commandLineHistory', 'click', _.bind(function() {
|
$(document).delegate('#commandLineHistory', 'click', _.bind(function() {
|
||||||
this.focus();
|
this.focus();
|
||||||
}, this));
|
}, this));
|
||||||
|
@ -18,7 +18,7 @@ var CommandPromptView = Backbone.View.extend({
|
||||||
this.blur();
|
this.blur();
|
||||||
}, this));
|
}, this));
|
||||||
|
|
||||||
// hacky timeout focus
|
// hacky timeout focus TODO
|
||||||
setTimeout(_.bind(function() {
|
setTimeout(_.bind(function() {
|
||||||
this.focus();
|
this.focus();
|
||||||
}, this), 100);
|
}, this), 100);
|
||||||
|
|
|
@ -418,7 +418,7 @@ GitEngine.prototype.numBackFrom = function(commit, numBack) {
|
||||||
return commit;
|
return commit;
|
||||||
}
|
}
|
||||||
|
|
||||||
var pQueue = [].concat(commit.get('parents'));
|
var pQueue = [].concat(commit.get('parents') || []);
|
||||||
pQueue.sort(this.idSortFunc);
|
pQueue.sort(this.idSortFunc);
|
||||||
numBack--;
|
numBack--;
|
||||||
|
|
||||||
|
|
17
todo.txt
17
todo.txt
|
@ -13,6 +13,16 @@ ALSO other big things:
|
||||||
|
|
||||||
- sizing on visedge arrowheads, also fill most likely
|
- sizing on visedge arrowheads, also fill most likely
|
||||||
|
|
||||||
|
Big Graphic things:
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
- colored branch edges. basically
|
||||||
|
- node rings, really think we should do it
|
||||||
|
|
||||||
|
|
||||||
|
Medium things:
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
- Rebuilding trees from a JSON snapshot / blob. this should be easy... i think. if we remove the need for parents
|
||||||
|
|
||||||
|
|
||||||
Small things to implement:
|
Small things to implement:
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -26,3 +36,10 @@ Bugs to fix:
|
||||||
- When you are rebasing and you hit the bottom, all the nodes go in the wrong spot...
|
- When you are rebasing and you hit the bottom, all the nodes go in the wrong spot...
|
||||||
We need some kind of "update everything but this set of nodes" thing...
|
We need some kind of "update everything but this set of nodes" thing...
|
||||||
|
|
||||||
|
- cannot checkout commits with dashes
|
||||||
|
|
||||||
|
- when generating new ids (C1' or C2''), need to check if they already exist!!! otherwise it wil barf
|
||||||
|
- always grab the maxHeight
|
||||||
|
- debug why typing takes so long with the profiler
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue