Code

git-add: make the entry stat-clean after re-adding the same contents
[git.git] / fast-import.c
index 078079d404d8245d73ea8ef36d764f2bb311d0a9..c07e3d8ef0d0eb8b1a50d2966579887b9add4099 100644 (file)
@@ -1859,7 +1859,7 @@ static void file_change_m(struct branch *b)
        } else if (oe) {
                if (oe->type != OBJ_BLOB)
                        die("Not a blob (actually a %s): %s",
-                               command_buf.buf, typename(oe->type));
+                               typename(oe->type), command_buf.buf);
        } else {
                enum object_type type = sha1_object_info(sha1, NULL);
                if (type < 0)