diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-04-01 03:50:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-14 22:47:48 +0200 |
commit | f5fed74fb2eac4d7c6fd4b09f2167b83942c0f13 (patch) | |
tree | 958f4f640e7b14d5f65cdce97f9550e9f9b9b868 /name-hash.c | |
parent | resolve-undo: ensure full index (diff) | |
download | git-f5fed74fb2eac4d7c6fd4b09f2167b83942c0f13.tar.xz git-f5fed74fb2eac4d7c6fd4b09f2167b83942c0f13.zip |
revision: ensure full index
Before iterating over all index entries, ensure that a sparse index is
expanded to a full index to avoid unexpected behavior. This case could
be integrated later by ensuring that we walk the tree in the
sparse-directory entry, but the current behavior is only expecting
blobs. Save this integration for later when it can be properly tested.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'name-hash.c')
0 files changed, 0 insertions, 0 deletions