git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git pickaxe -- problems with relative filenames
@ 2006-11-02  3:21 Andy Whitcroft
  2006-11-02  7:22 ` [PATCH] git-pickaxe: look for files relative to current path Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Whitcroft @ 2006-11-02  3:21 UTC (permalink / raw)
  To: Git Mailing List, Junio C Hamano

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-02  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02  3:21 git pickaxe -- problems with relative filenames Andy Whitcroft
2006-11-02  7:22 ` [PATCH] git-pickaxe: look for files relative to current path Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).