unpack-trees: allow Porcelain to give different error messages
[gitweb.git] / builtin-fast-export.c
index 49b54de0541b4537ac8da51018fa7f5a7276b71e..e1c56303e5cb7882bc79980c4f8e6c6791ad323b 100755 (executable)
@@ -123,7 +123,7 @@ static void show_filemodify(struct diff_queue_struct *q,
                        printf("D %s\n", spec->path);
                else {
                        struct object *object = lookup_object(spec->sha1);
-                       printf("M 0%06o :%d %s\n", spec->mode,
+                       printf("M %06o :%d %s\n", spec->mode,
                               get_object_mark(object), spec->path);
                }
        }