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

relative path specs not understood

From
David Reitter <david.reitter@gmail.com>
Date
Nov 10, 2009, 18:13 UTC
Message-ID
<9D4D6466-59BB-427D-97E5-C4E963CB769B@gmail.com>

I'm troubled by a repository in which I can access certain files only using the full path specification, but not from within the directory. The protocol below should explain this. I have a hunch this may have to do with certain symlinks (stored in the repository), or maybe with renaming. Any help on debugging this would be great. Perhaps I've just misunderstood something here...

- David

~/ae.git$ git --version git version 1.6.5.2 ~/ae.git$ cd etc ~/ae.git/etc$ git ls-files DISTRIB DISTRIB ~/ae.git$ cd .. ~/ae.git$ git ls-files -t -- aquamacs/TODO H aquamacs/TODO ~/ae.git$ cd aquamacs/ ~/ae.git/aquamacs$ git ls-files -t -- TODO ~/ae.git/aquamacs$ git ls-files -vmo -- TODO ? TODO ~/ae.git/aquamacs$ git status TODO error: pathspec 'TODO' did not match any file(s) known to git. ~/ae.git/aquamacs$ git add TODO ~/ae.git/aquamacs$ git status TODO error: pathspec 'TODO' did not match any file(s) known to git. ~/ae.git/aquamacs$ cd ../lisp/ ~/ae.git/lisp$ ls -la aquamacs lrwxr-xr-x 1 dr dr 25 Oct 7 22:30 aquamacs -> ../aquamacs/src/site- lisp

~/ae.git/.git$ cat config
[core]
         repositoryformatversion = 0
         filemode = true
         bare = false
         logallrefupdates = true
         ignorecase = true
(...)
Message 1 of 1 in “relative path specs not understood”
  1. David ReitterNov 10, 2009

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.