git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Deprecate git-lost-found

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 7, 2007, 22:54 UTC
Message-ID
<Pine.LNX.4.64.0711072253580.4362@racer.site>

"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>
---
	Maybe we can remove it in another 5 months...
 git-lost-found.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/git-lost-found.sh b/git-lost-found.sh
index a5a32e7..9cedaf8 100755
--- a/git-lost-found.sh
+++ b/git-lost-found.sh
@@ -5,6 +5,8 @@ SUBDIRECTORY_OK='Yes'
 OPTIONS_SPEC=
 . git-sh-setup
 
+echo "WARNING: '$0' is deprecated in favor of 'git fsck --lost-found'" >&2
+
 if [ "$#" != "0" ]
 then
     usage
-- 
1.5.3.5.1597.g7191
Next: Junio C Hamano
Message 1 of 22 in “Deprecate git-lost-found”
  1. Deprecate git-lost-foundJohannes Schindelin, Nov 7, 2007
  2. Junio C HamanoNov 8, 2007
  3. Johannes SchindelinNov 8, 2007
  4. Deprecate git-lost-foundJohannes Schindelin, Nov 8, 2007
  5. Remove deprecated commands from command list and update manpagesJonas Fonseca, Nov 8, 2007
  6. Andreas EricssonNov 8, 2007
  7. Drop deprecated commands from git(7) and update deprecation noticesJonas Fonseca, Nov 8, 2007
  8. Junio C HamanoNov 8, 2007
  9. Remove non-existing commands from git(7) and delete their manpagesJonas Fonseca, Nov 9, 2007
  10. 1/3 Documentation: lost-found is now deprecated.Junio C Hamano, Nov 9, 2007
  11. Jonas FonsecaNov 9, 2007
  12. Junio C HamanoNov 9, 2007
  13. 3/3 Documentation: remove documentation for removed tools.Junio C Hamano, Nov 9, 2007
  14. Documentation: Fix references to deprecated commandsJonas Fonseca, Nov 12, 2007
  15. Jonas FonsecaNov 12, 2007
  16. Junio C HamanoNov 12, 2007
  17. Jonas FonsecaNov 12, 2007
  18. J. Bruce FieldsNov 19, 2007
  19. Jonas FonsecaNov 19, 2007
  20. 2/3 Make check-docs target detect removed commandsJunio C Hamano, Nov 9, 2007
  21. Johannes SchindelinNov 8, 2007
  22. Johannes SchindelinNov 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.