| 650 | } |
| 651 | |
| 652 | static void write_tree_entry(struct strbuf *buf, unsigned int mode, |
| 653 | const char *path, unsigned int path_len, const |
| 654 | unsigned char *hash) |
| 655 | { |
| 656 | strbuf_addf(buf, "%o %.*s%c", mode, path_len, path, '\0'); |
| 657 | strbuf_add(buf, hash, the_hash_algo->rawsz); |
| 658 | } |
| 659 | |
| 660 | static void tree_write_stack_init_subtree(struct tree_write_stack *tws, |
| 661 | const char *path) |
no test coverage detected