* feature needed imap-send pass as cli switch
@ 2009-01-28 7:18 Caleb Cushing
2009-01-28 8:22 ` David Aguilar
0 siblings, 1 reply; 2+ messages in thread
From: Caleb Cushing @ 2009-01-28 7:18 UTC (permalink / raw)
To: git
I tend to have my .gitconfig shared on github with a bunch of other
config files and this has been ok, until submitting a patch here I
needed to use imap-send, and the only way I see in the documentation
is to put my email password in .gitconfig, obviously I can't push this
up to my remote as I usually do. I'd like to see an option to pass the
password on the cli, either as an input prompt or as just an argument
to an option, or both. I think storing it in the config file is a
security risk, storing passwords in plaintext is just bad practice.
if it's already possible could someone share how with me? and perhaps
patch the documentation to include how.
--
Caleb Cushing
http://xenoterracide.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: feature needed imap-send pass as cli switch
2009-01-28 7:18 feature needed imap-send pass as cli switch Caleb Cushing
@ 2009-01-28 8:22 ` David Aguilar
0 siblings, 0 replies; 2+ messages in thread
From: David Aguilar @ 2009-01-28 8:22 UTC (permalink / raw)
To: Caleb Cushing; +Cc: git
On Tue, Jan 27, 2009 at 11:18 PM, Caleb Cushing <xenoterracide@gmail.com> wrote:
> I tend to have my .gitconfig shared on github with a bunch of other
> config files and this has been ok, until submitting a patch here I
> needed to use imap-send, and the only way I see in the documentation
Are you sending patches through gmail? If so, check out:
http://git.or.cz/gitwiki/GitTips#head-a015948617d9becbdc9836776f96ad244ba87cb8
You can add .msmtprc to your .gitignore and keep it chmod 600.
Sure, it's cheating -- instead of keeping the data in .gitconfig we're
now keeping it in .mstmprc, but maybe it's a suitable workaround?
> is to put my email password in .gitconfig, obviously I can't push this
> up to my remote as I usually do. I'd like to see an option to pass the
> password on the cli, either as an input prompt or as just an argument
> to an option, or both. I think storing it in the config file is a
> security risk, storing passwords in plaintext is just bad practice.
>
> if it's already possible could someone share how with me? and perhaps
> patch the documentation to include how.
> --
> Caleb Cushing
>
> http://xenoterracide.blogspot.com
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-28 8:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 7:18 feature needed imap-send pass as cli switch Caleb Cushing
2009-01-28 8:22 ` David Aguilar
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).