X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-ls-remote.c;h=78a88f74769645f0be86aa77d3dee3f5e99c916f;hb=cf2ab916afa4231f7e9db31796e7c0f712ff6ad1;hp=8907a89d6c3914f4652ef387776f581015778396;hpb=f4198c9b7d319a7a595f0d759e7d8094387ab77b;p=git.git diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c index 8907a89d6..78a88f747 100644 --- a/builtin-ls-remote.c +++ b/builtin-ls-remote.c @@ -4,7 +4,7 @@ #include "remote.h" static const char ls_remote_usage[] = -"git-ls-remote [--upload-pack=] [:]"; +"git ls-remote [--heads] [--tags] [-u | --upload-pack ] ..."; /* * Is there one among the list of patterns that match the tail part @@ -31,7 +31,7 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix) { int i; const char *dest = NULL; - int nongit = 0; + int nongit; unsigned flags = 0; const char *uploadpack = NULL; const char **pattern = NULL;