Re: "git config --edit" outside a Git repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 20, 2009 at 7:29 PM, Teemu Likonen <tlikonen@xxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]