Dnia wtorek 18. grudnia 2007 23:20, Alex Riesen napisał: > Jakub Narebski, Tue, Dec 18, 2007 22:24:26 +0100: >> Not "relative to project root". Relative to tree-ish used on right hand >> side in <tree-ish>:<path> extended SHA-1 syntax. It is usually project >> root, because when you specify <commit> or <tag> as <tree-ish> it refers >> to top/root directory of a project. > > I know. My problem: it is also awkward. git-show :test-l<Tab>ib.sh just > does not do what I expect. Nor does git cat-file HEAD:test-l<Tab>ib.sh. > And git cat-file HEAD:t/test-l<Tab> does not work at all. And this is > very simple example. Normally the pathnames are about 100 characters > long. Doesn't bash completion (or zsh compltion) for git implement this? Let me check... it does $ . contrib/completion/git-completion.bash $ git cat-file -p HEAD:t/test-<TAB> $ git cat-file -p HEAD:t/test-lib.sh # autocompleted It does work correctly also from within t/ directory. -- Jakub Narebski Poland - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html