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

Function diff_set_default_prefix

diff.c:3756–3760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3754}
3755
3756void diff_set_default_prefix(struct diff_options *options)
3757{
3758 options->a_prefix = diff_src_prefix ? diff_src_prefix : "a/";
3759 options->b_prefix = diff_dst_prefix ? diff_dst_prefix : "b/";
3760}
3761
3762struct userdiff_driver *get_textconv(struct repository *r,
3763 struct diff_filespec *one)

Callers 2

repo_diff_setupFunction · 0.85
diff_opt_default_prefixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected