summaryrefslogtreecommitdiff
path: root/git-lost-found.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-11-08 00:41:22 +0000
committerJunio C Hamano <gitster@pobox.com>2007-11-07 17:12:53 -0800
commitfc8b5f0307d5477cb4a52d3b54ff098f8ea34c8e (patch)
tree982d9c18393e23bac58843538956199ab1c677d8 /git-lost-found.sh
parente7509ee388480046a685f885431291f484de66de (diff)
downloadgit-fc8b5f0307d5477cb4a52d3b54ff098f8ea34c8e.tar.gz
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