Re: [PATCH] Use SSH key from `GIT_SSH_KEY` variable if supplied
- From
- Maciej Małecki <me@mmalecki.com>
- Date
- Mar 20, 2012, 08:07 UTC
- Message-ID
- <CAKC8-7zr8JKCzMwameXvXVhCcycNG8B-dzCcPiCxrqFzGr_b8w@mail.gmail.com>
- In-Reply-To
- <robbat2-20120320T020552-803311730Z@orbis-terrarum.net>
W dniu 20 marca 2012 03:07 użytkownik Robin H. Johnson <robbat2@gentoo.org> napisał:
Show 11 quoted lines
> On Mon, Mar 19, 2012 at 06:55:06PM -0700, Junio C Hamano wrote: >> Hmm. I am somewhat torn. >> >> The minimalist in me finds this extraneous and unnecessary noise. Why >> should the user always set GIT_SSH_KEY environment variable that only >> applies to git and does not help his other ssh sessions? Why isn't having >> an entry in .ssh/config to name IdentityFile sufficient? >> >> Would GIT_SSH_ARGS='-i /home/me/.ssh/there.pub -l me' be more appropriate? > I'd strongly prefer a generic args support, for making it easier to use > in deployment code.
After rethinking it, I'm also +1 on GIT_SSH_ARGS. Should I submit a patch? Sorry for noob question, but it'd go into a new e-mail thread, right?