Am 12.12.2013 02:16, schrieb Junio C Hamano:
W. Trevor King wk...@tremily.us writes:
For
safety, maybe the default `init` should copy *everything* into
.git/config, after which users can remove stuff they'd like to
delegate to .gitmodules.
Copying everything into config is be unsafe and
On Thu, Dec 12, 2013 at 07:57:51PM +0100, Jens Lehmann wrote:
Am 12.12.2013 02:16, schrieb Junio C Hamano:
I think the solution we want is to copy only minimum to the config
(and that minimum may turn out to be nothing), and to default
keys that are only absolutely safe to .gitmodules file.
Jens Lehmann wrote:
Am 12.12.2013 02:16, schrieb Junio C Hamano:
I think the solution we want is to copy only minimum to the config
(and that minimum may turn out to be nothing), and to default
keys that are only absolutely safe to .gitmodules file.
I agree and will prepare a patch for
Jens Lehmann jens.lehm...@web.de writes:
Am 12.12.2013 02:16, schrieb Junio C Hamano:
W. Trevor King wk...@tremily.us writes:
For
safety, maybe the default `init` should copy *everything* into
.git/config, after which users can remove stuff they'd like to
delegate to .gitmodules.
Am 10.12.2013 00:40, schrieb Junio C Hamano:
Heiko Voigt hvo...@hvoigt.net writes:
This notion has changed in a way that only the url (by that the name)
should be copied on init. The default for everything else should come
from .gitmodules or gits own default.
I think you need to be a bit
On Wed, Dec 11, 2013 at 11:26:17PM +0100, Jens Lehmann wrote:
Am 10.12.2013 00:40, schrieb Junio C Hamano:
Heiko Voigt hvo...@hvoigt.net writes:
This notion has changed in a way that only the url (by that the
name) should be copied on init. The default for everything else
should come from
W. Trevor King wk...@tremily.us writes:
For
safety, maybe the default `init` should copy *everything* into
.git/config, after which users can remove stuff they'd like to
delegate to .gitmodules.
Copying everything into config is be unsafe and inconvenient by
default for everybody, isn't it?
On Fri, Dec 06, 2013 at 03:48:46PM +, Charlie Dyson wrote:
gitmodules(5) states that submodule.$name.update should be defined in
.gitmodules. However in cmd_update() in git-submodule.sh, git config
is used with -f .gitmodules. Consequently this flag is only
respected in .git/config
Heiko Voigt hvo...@hvoigt.net writes:
This notion has changed in a way that only the url (by that the name)
should be copied on init. The default for everything else should come
from .gitmodules or gits own default.
I think you need to be a bit careful here. I do not think
everything should
gitmodules(5) states that submodule.$name.update should be defined in
.gitmodules. However in cmd_update() in git-submodule.sh, git config
is used with -f .gitmodules. Consequently this flag is only
respected in .git/config
Tested against: 1.8.2.1 [sorry! I've checked the relevant bit of
source
10 matches
Mail list logo