]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-add.c
Merge branch 'maint' of git://repo.or.cz/git-gui into maint
[git.git] / builtin-add.c
index 105a9f0e1f6aef67f67d985a40a036a4ba833cbe..3d8b8b4f89514e0a8f7af1c2c7dc2f8ae372129e 100644 (file)
@@ -95,9 +95,10 @@ static void update_callback(struct diff_queue_struct *q,
                const char *path = p->one->path;
                switch (p->status) {
                default:
-                       die("unexpacted diff status %c", p->status);
+                       die("unexpected 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: