Re: [RFC/PATCH 1/3] git-find-git: a new helper.
- From
- Josef Weidendorfer <josef.weidendorfer@gmx.de>
- Date
- Dec 1, 2005, 14:35 UTC
- Message-ID
- <200512011535.25022.Josef.Weidendorfer@gmx.de>
- In-Reply-To
- <7vmzjuzphl.fsf@assigned-by-dhcp.cox.net>
On Thursday 24 November 2005 04:36, you wrote:
Show 5 quoted lines
> GIT_DIR_PREFIX is a string to be prepended to cwd relative > paths to make them repository relative. > > GIT_DIR_UPLEVEL is a string (e.g. "../") for the command to > use to cd to the top-level of repository.
Hi,
can we revive this idea? I thought about how to make work
$top/Documentation> git-mv ../file .
and also detection of trying to move to the outside. Requirements IMHO: (1) helper which is also useful from PERL (2) git-mv checks against version controlled files via git-ls-files. Thus, I need to run git-ls-files from the toplevel, to be able to see $top/file. (3) translation of cwd relative into toplevel relative paths.
Or is there already a way to do this with current git?
Josef