From: Felipe Contreras <felipe.contreras@gmail.com>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: "git config --edit" outside a Git repository
Date: Thu, 30 Apr 2009 01:24:08 +0300 [thread overview]
Message-ID: <94a0d4530904291524n473e790ct22494132cf844299@mail.gmail.com> (raw)
In-Reply-To: <87fxg3ffv5.fsf@iki.fi>
On Mon, Apr 20, 2009 at 7:29 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
> On 2009-04-18 18:10 (-0700), Junio C Hamano wrote:
>
>> * git-config learned -e option to open an editor to edit the config
>> file directly.
>
> There's a small flaw in this feature when "git config --edit" is run
> outside a Git repository. It launches $EDITOR but complains on saving
> that the file does not exist (tried with emacsclient and vim). I think
> it should check before if there's a repository around. "git config
> --global --edit" works.
Thanks, I just sent a patch that fixes that.
--
Felipe Contreras
prev parent reply other threads:[~2009-04-29 22:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 1:10 [ANNOUNCE] GIT 1.6.3.rc1 Junio C Hamano
2009-04-20 16:29 ` "git config --edit" outside a Git repository Teemu Likonen
2009-04-29 22:24 ` Felipe Contreras [this message]
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=94a0d4530904291524n473e790ct22494132cf844299@mail.gmail.com \
--to=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=tlikonen@iki.fi \
/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).