X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-bundle.c;h=d1635a0a6b009ecb6706084828abd0e3928f2b8d;hb=a6e3768f641c2703266422aa05c05f1d01e886b2;hp=0a9b73867f86a1ff33f7e2b2f458b02aacdd332d;hpb=3a81b9f571a6b7edd83b3d5f27c3c95d9b1c9d5c;p=git.git diff --git a/builtin-bundle.c b/builtin-bundle.c index 0a9b73867..d1635a0a6 100644 --- a/builtin-bundle.c +++ b/builtin-bundle.c @@ -87,7 +87,7 @@ static int read_header(const char *path, struct bundle_header *header) { if (buffer[len - 1] == '\n') buffer[len - 1] = '\0'; if (get_sha1_hex(buffer + offset, sha1)) { - warn("unrecognized header: %s", buffer); + warning("unrecognized header: %s", buffer); continue; } delim = buffer[40 + offset]; @@ -268,7 +268,7 @@ static int create_bundle(struct bundle_header *header, const char *path, * from getting output. */ if (!(e->item->flags & SHOWN)) { - warn("ref '%s' is excluded by the rev-list options", + warning("ref '%s' is excluded by the rev-list options", e->name); continue; }