From: Michael J Gruber <git@drmicha.warpmail.net>
To: Matej Batic <matej.batic@ge.infn.it>
Cc: git@vger.kernel.org
Subject: Re: using aliases within the subdirectory
Date: Wed, 13 Apr 2011 14:18:08 +0200 [thread overview]
Message-ID: <4DA59480.5080307@drmicha.warpmail.net> (raw)
In-Reply-To: <4DA579CA.5030908@ge.infn.it>
Matej Batic venit, vidit, dixit 13.04.2011 12:24:
> Dear all,
>
> I am facing a problem, noted previously in
>
> http://git.661346.n2.nabble.com/git-alias-always-chdir-to-top-td1609456.html
>
> http://kerneltrap.org/mailarchive/git/2010/5/5/29818/thread
> which in practice means that I cannot pass the " --
> relative_path_to_some_file_in_the_tree" argument to my alias.
>
> Is there any way to get the current working dir before git changes dir
> to root directory?
>
> Best regards,
> Matej
This may depend on your shell and rc files, but for me, $PWD gives the
original current working dir.
Also, revisiting that topic after 1.7.5 seems worthwhile.
Michael
next prev parent reply other threads:[~2011-04-13 12:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-13 10:24 using aliases within the subdirectory Matej Batic
2011-04-13 12:18 ` Michael J Gruber [this message]
[not found] ` <4DA5965C.8050501@ge.infn.it>
2011-04-13 12:42 ` Michael J Gruber
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=4DA59480.5080307@drmicha.warpmail.net \
--to=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=matej.batic@ge.infn.it \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.