mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
ugly ugly bug with circular fields
This commit is contained in:
parent
1ed8a2524a
commit
bbf837a4b2
6 changed files with 36 additions and 18 deletions
|
@ -116,8 +116,8 @@ var Command = Backbone.Model.extend({
|
|||
}
|
||||
},
|
||||
|
||||
oneArgImpliedHead: function(args, option) {
|
||||
this.validateArgBounds(args, 0, 1, option);
|
||||
oneArgImpliedHead: function(args) {
|
||||
this.validateArgBounds(args, 0, 1);
|
||||
// and if it's one, add a HEAD to the back
|
||||
if (args.length === 0) {
|
||||
args.push('HEAD');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue