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:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-11-08 03:41:22 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-08 04:12:53 +0300
commitfc8b5f0307d5477cb4a52d3b54ff098f8ea34c8e (patch)
tree982d9c18393e23bac58843538956199ab1c677d8 /git-lost-found.sh
parente7509ee388480046a685f885431291f484de66de (diff)
Deprecate git-lost-found
"git fsck" learnt the option "--lost-found" in v1.5.3-rc0~5, to make "git lost-found" obsolete. It is time to deprecate "git lost-found". Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-lost-found.sh')
-rwxr-xr-xgit-lost-found.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-lost-found.sh b/git-lost-found.sh
index c0b00e0fd1..f2ec5d147a 100755
--- a/git-lost-found.sh
+++ b/git-lost-found.sh
@@ -4,6 +4,8 @@ USAGE=''
SUBDIRECTORY_OK='Yes'
. git-sh-setup
+echo "WARNING: '$0' is deprecated in favor of 'git fsck --lost-found'" >&2
+
if [ "$#" != "0" ]
then
usage