Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread Konstantin Khomoutov
On Fri, 18 Jan 2013 12:18:00 -0500 wor...@alum.mit.edu (Dale R. Worley) wrote: > > From: lei yang > > > > git config --global sendemail.smtppass this will display > > password in .git config > > > > can we avoid this ? > > The value is in a configuration file which the user can read. If

Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread Konstantin Khomoutov
On Sat, 19 Jan 2013 01:08:47 +0800 lei yang wrote: > >> git config --global sendemail.smtppass this will display > >> password in .git config > >> > >> can we avoid this ? > > > > Yes, do not keep passwords in your configuration files. > > but if we don't put it in the configuration file,

Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread Dale R. Worley
> From: lei yang > > git config --global sendemail.smtppass this will display > password in .git config > > can we avoid this ? The value is in a configuration file which the user can read. If you modify the git code, you can prevent "git config" from printing it, but you can't stop the

Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread lei yang
On Sat, Jan 19, 2013 at 1:00 AM, Konstantin Khomoutov wrote: > On Sat, 19 Jan 2013 00:37:20 +0800 > lei yang wrote: > >> git config --global sendemail.smtppass this will display >> password in .git config >> >> can we avoid this ? > > Yes, do not keep passwords in your configuration files.

Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread Konstantin Khomoutov
On Sat, 19 Jan 2013 00:37:20 +0800 lei yang wrote: > git config --global sendemail.smtppass this will display > password in .git config > > can we avoid this ? Yes, do not keep passwords in your configuration files. --

[git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread lei yang
git config --global sendemail.smtppass this will display password in .git config can we avoid this ? lei --