summaryrefslogtreecommitdiff
path: root/builtin-update-ref.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-07-17 00:10:47 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-17 00:10:47 -0700
commit7f95aef28fa1e2662aebb4556c71ad6912d395e5 (patch)
tree57fbcb9b99c40bdf75742df2e21637294998921c /builtin-update-ref.c
parentapply: split out removal and creation into different phases. (diff)
downloadtgif-7f95aef28fa1e2662aebb4556c71ad6912d395e5.tar.xz
apply: handle type-changing patch correctly.
A type-change diff is always split into a patch to delete old, immediately followed by a patch to create new. check_patch() routine noticed that the path to be created already exists in the working tree and/or in the index when looking at the creation patch and mistakenly thought it to be an error. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-update-ref.c')
0 files changed, 0 insertions, 0 deletions