MCPcopy Index your code
hub / github.com/git/git / add_external_diff_name

Function add_external_diff_name

diff.c:4761–4769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4759}
4760
4761static void add_external_diff_name(struct repository *r,
4762 struct strvec *argv,
4763 struct diff_filespec *df)
4764{
4765 struct diff_tempfile *temp = prepare_temp_file(r, df);
4766 strvec_push(argv, temp->name);
4767 strvec_push(argv, temp->hex);
4768 strvec_push(argv, temp->mode);
4769}
4770
4771/* An external diff command takes:
4772 *

Callers 1

run_external_diffFunction · 0.85

Calls 2

prepare_temp_fileFunction · 0.85
strvec_pushFunction · 0.85

Tested by

no test coverage detected