diff options
| author | Paul Tan <pyokagan@gmail.com> | 2015-08-04 21:51:40 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2015-08-04 22:02:11 -0700 |
| commit | d23a5117f821b91e1d72745238a4c085a089864e (patch) | |
| tree | a5b8200766404d04913f1bce008b80174dbf4d5b /t/t4013/diff.diff_initial..side | |
| parent | builtin-am: implement -s/--signoff (diff) | |
| download | git-d23a5117f821b91e1d72745238a4c085a089864e.tar.gz git-d23a5117f821b91e1d72745238a4c085a089864e.zip | |
cache-tree: introduce write_index_as_tree()
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 <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
