@matheusbsbs / matheus-bagliano / commits / fc8b5f0307
Fork 0

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>

Johannes Schindelin committed Nov 8, 2007 at 00:41 UTC fc8b5f0307d5477cb4a52d3b54ff098f8ea34c8e
3 files changed +9
Documentation/RelNotes-1.5.4.txt
+3
@@ -46,6 +46,9 @@ Updates since v1.5.3
46
47 * Various Perforce importer updates.
48
49 + * git-lost-found was deprecated in favor of git-fsck's --lost-found
50 + option.
51 +
52 Fixes since v1.5.3
53 ------------------
54
Documentation/git-lost-found.txt
+4
@@ -11,6 +11,10 @@ SYNOPSIS
11
12 DESCRIPTION
13 -----------
14 +
15 +*NOTE*: this command is deprecated. Use gitlink:git-fsck[1] with
16 +the option '--lost-found' instead.
17 +
18 Finds dangling commits and tags from the object database, and
19 creates refs to them in the .git/lost-found/ directory. Commits and
20 tags that dereference to commits are stored in .git/lost-found/commit,
git-lost-found.sh
+2
@@ -4,6 +4,8 @@ USAGE=''
4 SUBDIRECTORY_OK='Yes'
5 . git-sh-setup
6
7 +echo "WARNING: '$0' is deprecated in favor of 'git fsck --lost-found'" >&2
8 +
9 if [ "$#" != "0" ]
10 then
11 usage