mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
ugly bug around unescaping
This commit is contained in:
parent
bbf837a4b2
commit
11074dba64
4 changed files with 17 additions and 15 deletions
|
@ -116,8 +116,8 @@ var Command = Backbone.Model.extend({
|
|||
}
|
||||
},
|
||||
|
||||
oneArgImpliedHead: function(args) {
|
||||
this.validateArgBounds(args, 0, 1);
|
||||
oneArgImpliedHead: function(args, option) {
|
||||
this.validateArgBounds(args, 0, 1, option);
|
||||
// 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