git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [RFC/PATCH 1/3] git-find-git: a new helper.
Date: Thu, 1 Dec 2005 15:35:24 +0100	[thread overview]
Message-ID: <200512011535.25022.Josef.Weidendorfer@gmx.de> (raw)
In-Reply-To: <7vmzjuzphl.fsf@assigned-by-dhcp.cox.net>

On Thursday 24 November 2005 04:36, you wrote:
>     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

  parent reply	other threads:[~2005-12-01 14:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24  3:36 [RFC/PATCH 1/3] git-find-git: a new helper Junio C Hamano
2005-11-24  5:41 ` Marco Costalba
2005-11-24  6:21   ` Junio C Hamano
2005-12-01 14:35 ` Josef Weidendorfer [this message]
     [not found]   ` <7vr78wirj7.fsf@assigned-by-dhcp.cox.net>
2005-12-01 20:33     ` Josef Weidendorfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200512011535.25022.Josef.Weidendorfer@gmx.de \
    --to=josef.weidendorfer@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).