summaryrefslogtreecommitdiff
path: root/t/t5515/fetch.br-branches-default_branches-default
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-06-07 15:04:11 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-07-09 14:40:03 -0700
commit099f3c421a446e2eef3a1bb6aea0e451711ddd88 (patch)
tree4b867c8cb14a5d9aa181bc9958cb199544c03b83 /t/t5515/fetch.br-branches-default_branches-default
parentapply: move verify_index_match() higher (diff)
downloadtgif-099f3c421a446e2eef3a1bb6aea0e451711ddd88.tar.xz
apply: --3way with add/add conflict
When a patch wants to create a path, but we already have it in our current state, pretend as if the patch and we independently added the same path and cause add/add conflict, so that the user can resolve it just like "git merge" in the same situation. For that purpose, implement load_current() in terms of the load_patch_target() helper introduced earlier to read the current contents from the path given by patch->new_name (patch->old_name is NULL for a creation patch). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-branches-default_branches-default')
0 files changed, 0 insertions, 0 deletions