From fc8b5f0307d5477cb4a52d3b54ff098f8ea34c8e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 8 Nov 2007 00:41:22 +0000 Subject: 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 Signed-off-by: Junio C Hamano --- git-lost-found.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git-lost-found.sh') 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 -- cgit v1.2.3