MCPcopy Create free account
hub / github.com/git/git / get_conv_flags

Function get_conv_flags

object-file.c:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include "tmp-objdir.h"
32
33static int get_conv_flags(unsigned flags)
34{
35 if (flags & INDEX_RENORMALIZE)
36 return CONV_EOL_RENORMALIZE;
37 else if (flags & INDEX_WRITE_OBJECT)
38 return global_conv_flags_eol | CONV_WRITE_OBJECT;
39 else
40 return 0;
41}
42
43static void fill_loose_path(struct strbuf *buf,
44 const struct object_id *oid,

Callers 2

index_memFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected