From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
To: Bert Wesarg <bert.wesarg@googlemail.com>
Cc: git@vger.kernel.org, Markus Heidelberg <markus.heidelberg@web.de>,
"Shawn O. Pearce" <spearce@spearce.org>
Subject: Re: [PATCHv3 0/3] git-gui: more robust handling of fancy repos
Date: Sun, 6 Dec 2009 14:43:47 +0100 [thread overview]
Message-ID: <cb7bb73a0912060543x6e7b2d28xfcd9bef4db3af1b8@mail.gmail.com> (raw)
In-Reply-To: <36ca99e90912060459u1073288bj2114f8ab56c7224b@mail.gmail.com>
On Sun, Dec 6, 2009 at 1:59 PM, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
> Here it is:
>
> [guitool "exclude/Ignore file"]
> cmd = echo \"$FILENAME\" >> \"${GIT_DIR:=.git}/info/exclude\"
> noconsole = yes
> needsfile = yes
>
> The purpose is simple: add the current file to the info/exclude file
> in the git dir As you can see, I have a workaround for not having
> GIT_DIR in the env, which should solve the issue. But it would be nice
> to rely on this.
Yup. I'm thinking about setting both $GIT_DIR and $GIT_WORK_TREE once
and for all at the end of the repo setup. This should also spare us
setting it up specifically for gitk (and then separately for the
tools). The question is: should it be done the way it's done for gitk
(i.e. normalizing the paths), or just use it as-is? In the latter
case, the question would be why is the path being normalized before
gitk is invoked.
Ideas?
--
Giuseppe "Oblomov" Bilotta
next prev parent reply other threads:[~2009-12-06 13:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-16 23:58 [PATCHv3 0/3] git-gui: more robust handling of fancy repos Giuseppe Bilotta
2009-08-16 23:58 ` [PATCHv3 1/3] git-gui: handle non-standard worktree locations Giuseppe Bilotta
2009-08-16 23:58 ` [PATCHv3 2/3] git-gui: handle bare repos correctly Giuseppe Bilotta
2009-08-16 23:58 ` [PATCHv3 3/3] git-gui: work from the .git dir Giuseppe Bilotta
2009-10-27 11:35 ` [PATCHv3 0/3] git-gui: more robust handling of fancy repos Bert Wesarg
2009-12-06 8:14 ` Giuseppe Bilotta
2009-12-06 12:59 ` Bert Wesarg
2009-12-06 13:43 ` Giuseppe Bilotta [this message]
2009-12-05 22:15 ` Shawn O. Pearce
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=cb7bb73a0912060543x6e7b2d28xfcd9bef4db3af1b8@mail.gmail.com \
--to=giuseppe.bilotta@gmail.com \
--cc=bert.wesarg@googlemail.com \
--cc=git@vger.kernel.org \
--cc=markus.heidelberg@web.de \
--cc=spearce@spearce.org \
/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).