From: Ramkumar Ramachandra Date: Sun, 07 Apr 2013 21:30:53 GMT Subject: Re: [RFC/PATCH 0/7] Rework git core for native submodules Message-ID: In-Reply-To: <20130407212342.GA19857@elie.Belkin> Jonathan Nieder wrote: > What's stopping the core object code of git parsing .gitmodules? Nothing, except that it's perversely unnatural for object parsing code to parse something outside the object store. > What > is the core object code? parse_link_buffer(): the conventions have already been set by parse_blob_buffer(), parse_tree_buffer() etc. > How does this compare to other metadata > files like .gitattributes and .gitignore? .gitignore and .gitattributes are parsed in dir.c, where git "treats" worktree paths. It's quite nicely integrated.