git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GSOC 2014]idea:Git Configuration API Improvement
@ 2014-03-20  7:23 Yao Zhao
  2014-03-20  8:47 ` Michael Haggerty
  2014-03-20  9:10 ` Matthieu Moy
  0 siblings, 2 replies; 7+ messages in thread
From: Yao Zhao @ 2014-03-20  7:23 UTC (permalink / raw)
  To: mhagger, Matthieu.Moy, peff; +Cc: git, Yao Zhao

Hello, Michael, Matthieu and peff,

My name is Yao and I am interested in Git Configuration API Improvements listed in idea page in Git. I came up some ideas and really want to discuss them with you.

First is about when to start reading configuration file to cache. My idea is the time user starts call command that need configuration information (need to read configuration file).

Second is about data structure. I read Peff's email listed on idea page. He indicated two methods and I prefer syntax tree. I think there should be three or more syntax tree in the cache. One for system, one for global and one for local. If user indicate a file to be configuration file, add one more tree. Or maybe we can build one tree and tag every node to indicate where it belongs to.

Third one is about when to write back to file, I am really confused about it. I think one way could be when user leave git repository using "cd" to go back. But I am not sure if git could detect user calls "cd" to leave repository.

Thank you,

Yao

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

end of thread, other threads:[~2014-03-21 13:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20  7:23 [GSOC 2014]idea:Git Configuration API Improvement Yao Zhao
2014-03-20  8:47 ` Michael Haggerty
2014-03-20  9:10 ` Matthieu Moy
2014-03-20 17:36   ` Junio C Hamano
2014-03-20 21:15   ` Yao Zhao
2014-03-21  8:23     ` Matthieu Moy
     [not found]       ` <CAP4BmmHAuWYgeMvk11ywJ5eXQunCWPepGEE3UTKfiVn60RQVrw@mail.gmail.com>
2014-03-21 13:42         ` Matthieu Moy

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