Re: [RFC/PATCH 0/7] Rework git core for native submodules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]