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

git pickaxe -- problems with relative filenames

From
Andy Whitcroft <apw@shadowen.org>
Date
Nov 2, 2006, 03:21 UTC
Message-ID
<45496432.80503@shadowen.org>

We seem to have a difference in the handling of relative filenames within a repository between git blame and git pickaxe. Specifically git pickaxe seems to always require names as if it were run in the top of the project:

apw@pinky$ pwd /home/apw/git/git/Documentation apw@pinky$ git blame git.txt | head -2 7984eabe (Sebastian Kuzminsky 2005-05-19 10:24:54 -0600 1) git(7) 2cf565c5 (David Greaves 2005-05-10 22:32:30 +0100 2) ====== apw@pinky$ git pickaxe git.txt | head -2 fatal: cannot stat path git.txt: No such file or directory apw@pinky$ git pickaxe Documentation/git.txt | head -2 7984eabe (Sebastian Kuzminsky 2005-05-19 10:24:54 -0600 1) git(7) 2cf565c5 (David Greaves 2005-05-10 22:32:30 +0100 2) ======

This seems inconsistent? Is this expected behaviour?
Next: Jeff King
Message 1 of 2 in “git pickaxe -- problems with relative filenames”
  1. Andy WhitcroftNov 2, 2006
  2. git-pickaxe: look for files relative to current pathJeff King, Nov 2, 2006

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.