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

Re: [PATCH] git-fsck: add --lost-found option

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 3, 2007, 00:08 UTC
Message-ID
<7vps3auz5y.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0707030018120.4071@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 	WARNING: 'git lost-found' is deprecated.
> 	WARNING: Use 'git fsck --lost-found' instead
>
> whenever lost-found is called?

I agree that would be a sensible second step after the result of the first step matures.

Show 8 quoted lines
>>  3. git-lost-found is removed.
>
> Yes, that can wait.
>
> What is more important before doing 1&2 for real is this: lost-found ATM 
> calls 'git-fsck --full --no-reflogs'. The patch does not force these two 
> options when called with '--lost-found'. I would really appreciate 
> opinions on this issue, and will gladly re-prepare a patch accordingly.

I think I am not following you; do you mean --lost-found does not imply these two? I am not sure if there is any benefit of being able to do --lost-found without --full nor --no-reflogs.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 of 7 in “git-fsck: add --lost-found option”
  1. git-fsck: add --lost-found optionJohannes Schindelin, Jul 2, 2007
  2. Junio C HamanoJul 2, 2007
  3. Johannes SchindelinJul 2, 2007
  4. Junio C HamanoJul 3, 2007
  5. git-fsck: add --lost-found optionJohannes Schindelin, Jul 3, 2007
  6. fsck --lost-found writes to subdirectories in .git/lost-found/Jonas Fonseca, Jul 4, 2007
  7. Johannes SchindelinJul 4, 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.