diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-05-09 01:08:23 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-09 01:29:38 -0700 |
commit | dbd0f7d3221fbf8e9943a114c11e5b5e5fc0c201 (patch) | |
tree | 0d3842b2a4759d09280477d7723e94631bc5f44c /diff.c | |
parent | Separate object name errors from usage errors (diff) | |
download | tgif-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 'diff.c')
0 files changed, 0 insertions, 0 deletions