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

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.

* cc/subprocess-handshake-missing-capabilities:
  sub-process: print the cmd when a capability is unsupported
This commit is contained in:
Junio C Hamano 2017-08-24 10:20:02 -07:00
commit d1615f93ac

View File

@ -184,8 +184,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);
} }
} }