Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-ls-remote.c')
-rw-r--r--builtin-ls-remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c
index c2caeeabe2..6dd31d1dd6 100644
--- a/builtin-ls-remote.c
+++ b/builtin-ls-remote.c
@@ -54,11 +54,11 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)
uploadpack = arg + 7;
continue;
}
- if (!strcmp("--tags", arg)) {
+ if (!strcmp("--tags", arg) || !strcmp("-t", arg)) {
flags |= REF_TAGS;
continue;
}
- if (!strcmp("--heads", arg)) {
+ if (!strcmp("--heads", arg) || !strcmp("-h", arg)) {
flags |= REF_HEADS;
continue;
}