mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-01 16:44:30 +02:00
rebase onto implemented
This commit is contained in:
parent
592399b1db
commit
521cc0e809
3 changed files with 41 additions and 8 deletions
|
@ -124,17 +124,23 @@ var Command = Backbone.Model.extend({
|
|||
}
|
||||
},
|
||||
|
||||
oneArgImpliedHead: function(args, option) {
|
||||
this.validateArgBounds(args, 0, 1, option);
|
||||
argImpliedHead: function (args, lower, upper, option) {
|
||||
// our args we expect to be between {lower} and {upper}
|
||||
this.validateArgBounds(args, lower, upper, option);
|
||||
// and if it's one, add a HEAD to the back
|
||||
this.impliedHead(args, 0);
|
||||
this.impliedHead(args, lower);
|
||||
},
|
||||
|
||||
oneArgImpliedHead: function(args, option) {
|
||||
this.argImpliedHead(args, 0, 1, option);
|
||||
},
|
||||
|
||||
twoArgsImpliedHead: function(args, option) {
|
||||
// our args we expect to be between 1 and 2
|
||||
this.validateArgBounds(args, 1, 2, option);
|
||||
// and if it's one, add a HEAD to the back
|
||||
this.impliedHead(args, 1);
|
||||
this.argImpliedHead(args, 1, 2, option);
|
||||
},
|
||||
|
||||
threeArgsImpliedHead: function(args, option) {
|
||||
this.argImpliedHead(args, 2, 3, option);
|
||||
},
|
||||
|
||||
oneArgImpliedOrigin: function(args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue