Merge branch 'cc/subprocess-handshake-missing-capabilities' into maint
When handshake with a subprocess filter notices that the process asked for an unknown capability, Git did not report what program the offending subprocess was running. This has been corrected. We may want a follow-up fix to tighten the error checking, though. * cc/subprocess-handshake-missing-capabilities: sub-process: print the cmd when a capability is unsupported
This commit is contained in:
commit
27015b4f95
@ -181,8 +181,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("external filter requested unsupported filter capability '%s'",
|
warning("subprocess '%s' requested unsupported capability '%s'",
|
||||||
p);
|
process->argv[0], p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user