Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v5 18/44] cache-tree: introduce write_index_as_tree()

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:05:41

Paul Tan [off-list ref] writes:
A caller may wish to write a temporary index as a tree. However,
write_cache_as_tree() assumes that the index was read from, and will
write to, the default index file path. Introduce write_index_as_tree()
which removes this limitation by allowing the caller to specify its own
index_state and index file path.

Signed-off-by: Paul Tan <redacted>
---
 cache-tree.c | 29 +++++++++++++++++------------
 cache-tree.h |  1 +
 2 files changed, 18 insertions(+), 12 deletions(-)
Makes sense; thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help