Browse Source

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
maint
Junio C Hamano 8 years ago
parent
commit
d1615f93ac
  1. 4
      sub-process.c

4
sub-process.c

@ -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);
} }
} }



Loading…
Cancel
Save