Browse Source

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

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 18 years ago
parent
commit
767c98a592
  1. 1
      builtin-add.c

1
builtin-add.c

@ -98,6 +98,7 @@ static void update_callback(struct diff_queue_struct *q, @@ -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:

Loading…
Cancel
Save