Re: [PATCH RFC] init-db: introduce new -c/--config option

2015-03-25 Thread Eric Sunshine
On Wed, Mar 25, 2015 at 2:22 PM, Alexander Kuleshov wrote: > For now we can clone repository with the `git clone` command and pass > -c/--config with configuration option to it and these configuration > options will be set in the clonned repository config. s/clonned/cloned/ > This patch provides

Re: [PATCH RFC] init-db: introduce new -c/--config option

2015-03-25 Thread Jeff King
On Thu, Mar 26, 2015 at 12:30:13AM +0600, Alexander Kuleshov wrote: > I'm not sure about two things: > > 1. Is there any way to do this with the current git? At least i didn't > find how to do it, so decided to write this patch. > If there is already ability to do the same without this patch, ple

Re: [PATCH RFC] init-db: introduce new -c/--config option

2015-03-25 Thread Alexander Kuleshov
Hello All, I'm not sure about two things: 1. Is there any way to do this with the current git? At least i didn't find how to do it, so decided to write this patch. If there is already ability to do the same without this patch, please let me know. 2. Now current patch overwrite the value of the c

[PATCH RFC] init-db: introduce new -c/--config option

2015-03-25 Thread Alexander Kuleshov
For now we can clone repository with the `git clone` command and pass -c/--config with configuration option to it and these configuration options will be set in the clonned repository config. This patch provides the same functional, but for the `git init` command. It allows to pass -c/--config opt