Re: [PATCH 3/3] Allow whole-tree operations to be started from a subdirectory
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> wrote:
> The wish to allow git-fetch from subdirectories is the
> inconvenience to have to cd up, and later down. This is
> avoided by running "git --top fetch", and theses people
> should be happy.
But not only that, git-fetch *never* alters the working directory.
So it doesn't matter where git-fetch is invoked from, just that
it can find the correct .git directory to run against. And --top
isn't necessary to do that, the command will find the implied .git
directory own its own.
--
Shawn.