From: Junio C Hamano Date: Thu, 26 Nov 2009 00:36:24 GMT Subject: Re: [PATCH] grep: --full-tree Message-ID: <7vd436m8af.fsf@alter.siamese.dyndns.org> In-Reply-To: <4B0DCC27.4030702@gmail.com> A Large Angry SCM writes: > Junio C Hamano wrote: >> A Large Angry SCM writes: >> >>> But the users are almost always dealing with things (objects) that >>> started as files, act like files and may be files again. Why should >>> they not expect filesystem semantics. >> >> Do you truly want to see this? >> >> diff --git a/var/tmp/git/Makefile b/var/tmp/git/Makefile >> index 5a0b3d4..e9b03a8 100644 >> --- a/var/tmp/git/Makefile >> +++ b/var/tmp/git/Makefile >> @@ -1985,3 +1985,4 @@ coverage-report: >> ... >> >> As long as you are talking about paths you communicate with git, your >> root _is_ the root of the work tree, and it shouldn't matter where you >> have your work tree. >> >> That is what I meant by "the root _in the context_". > > Nice example for a command output. But what did the user specify on > the command line? Either relative path from $(cwd) or full pathname from the root of the filesystem in your world (because you do not understand the value of the context), and ralative path from $(cwd) or full pathname from the root of the work tree in my world.