aboutsummaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-05-09 01:08:23 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-09 01:29:38 -0700
commitdbd0f7d3221fbf8e9943a114c11e5b5e5fc0c201 (patch)
tree0d3842b2a4759d09280477d7723e94631bc5f44c /read-cache.c
parent31fff305bcc6db3b8082eac7fc9e441b27964fea (diff)
downloadgit-dbd0f7d3221fbf8e9943a114c11e5b5e5fc0c201.tar.gz
git-dbd0f7d3221fbf8e9943a114c11e5b5e5fc0c201.tar.xz
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