git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/12] git-grep: read config
@ 2008-07-23 14:55 Nguyễn Thái Ngọc Duy
  2008-07-24 17:15 ` Jeff King
  0 siblings, 1 reply; 9+ messages in thread
From: Nguyễn Thái Ngọc Duy @ 2008-07-23 14:55 UTC (permalink / raw)
  To: git


Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 builtin-grep.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/builtin-grep.c b/builtin-grep.c
index 631129d..cc9ba6b 100644
--- a/builtin-grep.c
+++ b/builtin-grep.c
@@ -517,6 +517,8 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
 	const char **paths = NULL;
 	int i;
 
+	git_config(git_default_config, NULL);
+
 	memset(&opt, 0, sizeof(opt));
 	opt.prefix_length = (prefix && *prefix) ? strlen(prefix) : 0;
 	opt.relative = 1;
-- 
1.5.5.GIT

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-24 19:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 14:55 [PATCH 01/12] git-grep: read config Nguyễn Thái Ngọc Duy
2008-07-24 17:15 ` Jeff King
2008-07-24 18:45   ` Nguyen Thai Ngoc Duy
2008-07-24 18:53     ` Sverre Rabbelier
2008-07-24 19:03       ` Nguyen Thai Ngoc Duy
2008-07-24 19:12         ` Sverre Rabbelier
2008-07-24 19:16       ` Jay Soffian
2008-07-24 18:58     ` Jeff King
2008-07-24 19:07       ` Nguyen Thai Ngoc Duy

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).