All of lore.kernel.org
 help / color / mirror / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: "git config --edit" outside a Git repository
Date: Mon, 20 Apr 2009 19:29:34 +0300	[thread overview]
Message-ID: <87fxg3ffv5.fsf@iki.fi> (raw)
In-Reply-To: <7v1vrptpn3.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Sat\, 18 Apr 2009 18\:10\:08 -0700")

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.

Otherwise this is a nice feature. :-)

  reply	other threads:[~2009-04-20 16:31 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 ` Teemu Likonen [this message]
2009-04-29 22:24   ` "git config --edit" outside a Git repository Felipe Contreras

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=87fxg3ffv5.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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.