git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH 1/3] git-find-git: a new helper.

From
JWJosef 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
Previous: Junio C HamanoNext: Josef Weidendorfer
Message 4 of 5 in “git-find-git: a new helper.”
  1. 1/3 git-find-git: a new helper.Junio C Hamano, Nov 24, 2005
  2. Marco CostalbaNov 24, 2005
  3. Junio C HamanoNov 24, 2005
  4. Josef WeidendorferDec 1, 2005
  5. Josef WeidendorferDec 1, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.