peek-remote: remove deprecated alias of ls-remote
authorJohn Keeping <john@keeping.me.uk>
Sun, 10 Nov 2013 15:47:31 +0000 (15:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Nov 2013 22:10:22 +0000 (14:10 -0800)
This has been deprecated since commit 87194d2 (Deprecate peek-remote,
2007-11-24), included in version 1.5.4.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Documentation/git-peek-remote.txt [deleted file]
Makefile
command-list.txt
contrib/completion/git-completion.bash
git.c

index c141b2a01ab0a10e12d1d0e8fd52bae843f63885..c2ad802ffb557fd4de4acd877cd86c8be63605b0 100644 (file)
 /git-pack-refs
 /git-parse-remote
 /git-patch-id
-/git-peek-remote
 /git-prune
 /git-prune-packed
 /git-pull
diff --git a/Documentation/git-peek-remote.txt b/Documentation/git-peek-remote.txt
deleted file mode 100644 (file)
index 87ea3fb..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-git-peek-remote(1)
-==================
-
-NAME
-----
-git-peek-remote - List the references in a remote repository
-
-
-SYNOPSIS
---------
-[verse]
-'git peek-remote' [--upload-pack=<git-upload-pack>] [<host>:]<directory>
-
-DESCRIPTION
------------
-This command is deprecated; use 'git ls-remote' instead.
-
-OPTIONS
--------
---upload-pack=<git-upload-pack>::
-       Use this to specify the path to 'git-upload-pack' on the
-       remote side, if it is not found on your $PATH. Some
-       installations of sshd ignores the user's environment
-       setup scripts for login shells (e.g. .bash_profile) and
-       your privately installed git may not be found on the system
-       default $PATH.  Another workaround suggested is to set
-       up your $PATH in ".bashrc", but this flag is for people
-       who do not want to pay the overhead for non-interactive
-       shells, but prefer having a lean .bashrc file (they set most of
-       the things up in .bash_profile).
-
-<host>::
-       A remote host that houses the repository.  When this
-       part is specified, 'git-upload-pack' is invoked via
-       ssh.
-
-<directory>::
-       The repository to sync from.
-
-
-GIT
----
-Part of the linkgit:git[1] suite
index 7ffd70567d6c81acd7b3c1d813619cdb00b4e718..504931f1a3c6fe96188e4c8d474f8aba4558586e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -589,7 +589,6 @@ BUILT_INS += git-fsck-objects$X
 BUILT_INS += git-get-tar-commit-id$X
 BUILT_INS += git-init$X
 BUILT_INS += git-merge-subtree$X
-BUILT_INS += git-peek-remote$X
 BUILT_INS += git-show$X
 BUILT_INS += git-stage$X
 BUILT_INS += git-status$X
index 7bf242025fc94b46d927c6e8250653dd71122365..cf36c3d71e3b8fc3382162ef939f3ed1f7d20775 100644 (file)
@@ -87,7 +87,6 @@ git-pack-redundant                      plumbinginterrogators
 git-pack-refs                           ancillarymanipulators
 git-parse-remote                        synchelpers
 git-patch-id                            purehelpers
-git-peek-remote                         purehelpers    deprecated
 git-prune                               ancillarymanipulators
 git-prune-packed                        plumbingmanipulators
 git-pull                                mainporcelain common
index c07161451526ea5487d34a70f7be580fd2bc6211..874611db56b6431a5aa5c55f34a22007eec7ebdf 100644 (file)
@@ -686,7 +686,6 @@ __git_list_porcelain_commands ()
                pack-refs)        : plumbing;;
                parse-remote)     : plumbing;;
                patch-id)         : plumbing;;
-               peek-remote)      : plumbing;;
                prune)            : plumbing;;
                prune-packed)     : plumbing;;
                quiltimport)      : import;;
diff --git a/git.c b/git.c
index 5c9858fd837654e75d417174e7fcd87ba3dbf853..727e380e57328b1a5e5a0c719ba7a8acd912fb88 100644 (file)
--- a/git.c
+++ b/git.c
@@ -408,7 +408,6 @@ static void handle_internal_command(int argc, const char **argv)
                { "pack-redundant", cmd_pack_redundant, RUN_SETUP },
                { "pack-refs", cmd_pack_refs, RUN_SETUP },
                { "patch-id", cmd_patch_id },
-               { "peek-remote", cmd_ls_remote, RUN_SETUP_GENTLY },
                { "pickaxe", cmd_blame, RUN_SETUP },
                { "prune", cmd_prune, RUN_SETUP },
                { "prune-packed", cmd_prune_packed, RUN_SETUP },