author | Felipe Contreras <felipe.contreras@gmail.com> | |
Wed, 29 Apr 2009 22:49:47 +0000 (01:49 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 29 Apr 2009 23:50:21 +0000 (16:50 -0700) | ||
commit | d212ca1724b1a3708a3b4cb72c58b20ef442b24f | |
tree | 95664c55c15108262eaa884e82ba5d4bceb4f8e0 | tree | snapshot |
parent | 2163e3f7786f56d5aaf9eadea6776bb0e38b30a4 | commit | diff |
git config: error when editing a repo config and not being in one
Let's throw an error on this specific case. If the user specifies the
config file, he must know what he is doing.
Teemu Likonen pointed this out.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Let's throw an error on this specific case. If the user specifies the
config file, he must know what he is doing.
Teemu Likonen pointed this out.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-config.c | diff | blob | history |