mirror of
https://github.com/git/git.git
synced 2024-05-30 07:56:11 +02:00
Merge branch 'cc/subprocess-handshake-missing-capabilities' into maint
Finishing touches to a topic already in 'master'. * cc/subprocess-handshake-missing-capabilities: subprocess: loudly die when subprocess asks for an unsupported capability
This commit is contained in:
commit
1c45e39809
|
@ -180,8 +180,8 @@ static int handshake_capabilities(struct child_process *process,
|
||||||
if (supported_capabilities)
|
if (supported_capabilities)
|
||||||
*supported_capabilities |= capabilities[i].flag;
|
*supported_capabilities |= capabilities[i].flag;
|
||||||
} else {
|
} else {
|
||||||
warning("subprocess '%s' requested unsupported capability '%s'",
|
die("subprocess '%s' requested unsupported capability '%s'",
|
||||||
process->argv[0], p);
|
process->argv[0], p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue