X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-bundle.c;h=9b58152047baebfdd6f26ffab31d49347e0cb069;hb=cd50988ae03e086ca1a8f18584153d359699ea25;hp=9f38e2176a4c05fe9f6f8efcabb9b1e7204fdb85;hpb=2ce1a1f23fd83d2cab22f87aff1165fb0c7ad450;p=git.git diff --git a/builtin-bundle.c b/builtin-bundle.c index 9f38e2176..9b5815204 100644 --- a/builtin-bundle.c +++ b/builtin-bundle.c @@ -6,15 +6,15 @@ * Basic handler for bundle files to connect repositories via sneakernet. * Invocation must include action. * This function can create a bundle or provide information on an existing - * bundle supporting git-fetch, git-pull, and git-ls-remote + * bundle supporting "fetch", "pull", and "ls-remote". */ -static const char *bundle_usage="git-bundle (create | verify | list-heads [refname]... | unbundle [refname]... )"; +static const char *bundle_usage="git bundle (create | verify | list-heads [refname]... | unbundle [refname]... )"; int cmd_bundle(int argc, const char **argv, const char *prefix) { struct bundle_header header; - int nongit = 0; + int nongit; const char *cmd, *bundle_file; int bundle_fd = -1; char buffer[PATH_MAX];