1
0
mirror of https://github.com/git/git.git synced 2024-09-21 10:52:56 +02:00

git-add -u: do not barf on type changes

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2007-09-14 00:45:29 -07:00
parent f5de79956b
commit 767c98a592

View File

@ -98,6 +98,7 @@ static void update_callback(struct diff_queue_struct *q,
die("unexpacted diff status %c", p->status);
case DIFF_STATUS_UNMERGED:
case DIFF_STATUS_MODIFIED:
case DIFF_STATUS_TYPE_CHANGED:
add_file_to_cache(path, verbose);
break;
case DIFF_STATUS_DELETED: