Skip to content

Commit 27015b4

Browse files
committed
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
2 parents f1b64e8 + d3ba566 commit 27015b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sub-process.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ static int handshake_capabilities(struct child_process *process,
181181
if (supported_capabilities)
182182
*supported_capabilities |= capabilities[i].flag;
183183
} else {
184-
warning("external filter requested unsupported filter capability '%s'",
185-
p);
184+
warning("subprocess '%s' requested unsupported capability '%s'",
185+
process->argv[0], p);
186186
}
187187
}
188188

0 commit comments

Comments
 (0)