pull: set reflog message
[gitweb.git] / builtin / add.c
index 4bd98b799e7e1a46beb09249ab2299f4d2b335b8..df5135bf62acabfa9f68793435c1576ba7c1a36a 100644 (file)
@@ -63,6 +63,7 @@ static void update_callback(struct diff_queue_struct *q,
                switch (fix_unmerged_status(p, data)) {
                default:
                        die(_("unexpected diff status %c"), p->status);
+               case DIFF_STATUS_ADDED:
                case DIFF_STATUS_MODIFIED:
                case DIFF_STATUS_TYPE_CHANGED:
                        if (add_file_to_index(&the_index, path, data->flags)) {