X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=revision.c;h=18b7ebbbd599417462b5c4275c2581b91ebeca6a;hb=003b33a8;hp=b6215cc72c77baa3f72d652e8457d3ace6e5f439;hpb=7d5a1806e8c2d9980938a05a56939272ad2ec338;p=git.git diff --git a/revision.c b/revision.c index b6215cc72..18b7ebbbd 100644 --- a/revision.c +++ b/revision.c @@ -15,9 +15,9 @@ volatile show_early_output_fn_t show_early_output; -static char *path_name(struct name_path *path, const char *name) +char *path_name(const struct name_path *path, const char *name) { - struct name_path *p; + const struct name_path *p; char *n, *m; int nlen = strlen(name); int len = nlen + 1; @@ -209,7 +209,7 @@ static struct commit *handle_commit(struct rev_info *revs, struct object *object } /* - * Tree object? Either mark it uniniteresting, or add it + * Tree object? Either mark it uninteresting, or add it * to the list of objects to look at later.. */ if (object->type == OBJ_TREE) {