diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-05-09 12:08:23 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-09 12:29:38 +0400 |
commit | dbd0f7d3221fbf8e9943a114c11e5b5e5fc0c201 (patch) | |
tree | 0d3842b2a4759d09280477d7723e94631bc5f44c /read-cache.c | |
parent | 31fff305bcc6db3b8082eac7fc9e441b27964fea (diff) |
apply: fix infinite loop with multiple patches with --index
When multiple patches are passed to git-apply, it will attempt
to open multiple file descriptors to an index, which means
multiple entries will be in the circular cache_file_list.
This change makes git-apply only open the index once and
write the index at exit.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions