mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +02:00
sweet new fetch levle
This commit is contained in:
parent
c522722513
commit
9760874f69
3 changed files with 126 additions and 2 deletions
|
@ -685,7 +685,7 @@ var commandConfig = {
|
|||
var refspecParts = firstArg.split(':');
|
||||
source = refspecParts[0];
|
||||
destination = validateBranchName(engine, refspecParts[1]);
|
||||
if (source === "" && !engine.origin.refs[options.destination]) {
|
||||
if (source === "" && !engine.origin.refs[destination]) {
|
||||
throw new GitError({
|
||||
msg: intl.todo(
|
||||
'cannot delete branch ' + options.destination + ' which doesnt exist'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue