| 31 | #include "tmp-objdir.h" |
| 32 | |
| 33 | static 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 | |
| 43 | static void fill_loose_path(struct strbuf *buf, |
| 44 | const struct object_id *oid, |
no outgoing calls
no test coverage detected