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

Re: finding deleted file names

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 3, 2008, 20:32 UTC
Message-ID
<20080703203224.GA7663@spearce.org>
In-Reply-To
<20080703103658.GA11571@sigill.intra.peff.net>
Jeff King <peff@peff.net> wrote:
Show 14 quoted lines
> On Thu, Jul 03, 2008 at 09:31:55AM +0930, Geoff Russell wrote:
> 
> > git diff --diff-filter=D --name-only HEAD@{'7 days ago'}
> > 
> > finds files deleted during the last 7 days, but if my repository is
> > only 6 days old I get a
> > fatal error.
> > 
> > fatal: bad object HEAD@{7 days ago}
> 
> This should issue a warning, but use the oldest reflog entry. However,
> there is a slight problem with that. See below for details.
> 
> Shawn, does this seem sane to you?
Yea, this is the only reasonable thing to do here.  Ack.
-- 
Shawn.
Previous: Jeff KingNext: Johannes Schindelin
Message 15 of 16 in “finding deleted file names”
  1. Geoff RussellJul 3, 2008
  2. Mikael MagnussonJul 3, 2008
  3. Geoff RussellJul 3, 2008
  4. Mikael MagnussonJul 3, 2008
  5. Jeff KingJul 3, 2008
  6. Geoff RussellJul 4, 2008
  7. Junio C HamanoJul 4, 2008
  8. Geoff RussellJul 6, 2008
  9. Junio C HamanoJul 6, 2008
  10. Geoff RussellJul 7, 2008
  11. Jakub NarebskiJul 3, 2008
  12. Jeff KingJul 3, 2008
  13. Junio C HamanoJul 3, 2008
  14. Jeff KingJul 3, 2008
  15. Shawn O. PearceJul 3, 2008
  16. Johannes SchindelinJul 3, 2008

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.