X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=builtin%2Fbundle.c;h=81046a9cb870aab59a56492e175a51c032ad96ce;hb=ffc5e3c958b66fb4babeba01483cc924bc2957a5;hp=80649ba0b28846d09b49a791dd25af9a2907f75f;hpb=b480d38dab815e780234d0887f4185afc3db1b64;p=git.git diff --git a/builtin/bundle.c b/builtin/bundle.c index 80649ba0b..81046a9cb 100644 --- a/builtin/bundle.c +++ b/builtin/bundle.c @@ -12,8 +12,8 @@ static const char builtin_bundle_usage[] = "git bundle create \n" " or: git bundle verify \n" - " or: git bundle list-heads [refname...]\n" - " or: git bundle unbundle [refname...]"; + " or: git bundle list-heads [...]\n" + " or: git bundle unbundle [...]"; int cmd_bundle(int argc, const char **argv, const char *prefix) { @@ -44,7 +44,7 @@ int cmd_bundle(int argc, const char **argv, const char *prefix) close(bundle_fd); if (verify_bundle(&header, 1)) return 1; - fprintf(stderr, "%s is okay\n", bundle_file); + fprintf(stderr, _("%s is okay\n"), bundle_file); return 0; } if (!strcmp(cmd, "list-heads")) { @@ -53,11 +53,11 @@ int cmd_bundle(int argc, const char **argv, const char *prefix) } if (!strcmp(cmd, "create")) { if (!startup_info->have_repository) - die("Need a repository to create a bundle."); + die(_("Need a repository to create a bundle.")); return !!create_bundle(&header, bundle_file, argc, argv); } else if (!strcmp(cmd, "unbundle")) { if (!startup_info->have_repository) - die("Need a repository to unbundle."); + die(_("Need a repository to unbundle.")); return !!unbundle(&header, bundle_fd) || list_bundle_refs(&header, argc, argv); } else