Browse Source

Merge branch 'cc/subprocess-handshake-missing-capabilities'

Finishing touches to a topic already in 'master'.

* cc/subprocess-handshake-missing-capabilities:
  subprocess: loudly die when subprocess asks for an unsupported capability
maint
Junio C Hamano 7 years ago
parent
commit
b9db14f52e
  1. 4
      sub-process.c

4
sub-process.c

@ -184,8 +184,8 @@ static int handshake_capabilities(struct child_process *process, @@ -184,8 +184,8 @@ static int handshake_capabilities(struct child_process *process,
if (supported_capabilities)
*supported_capabilities |= capabilities[i].flag;
} else {
warning("subprocess '%s' requested unsupported capability '%s'",
process->argv[0], p);
die("subprocess '%s' requested unsupported capability '%s'",
process->argv[0], p);
}
}


Loading…
Cancel
Save