Re: [PATCH 2/3] submodule-config: rename commit_sha1 to commit_or_tree

2016-11-02 Thread Jacob Keller
On Wed, Nov 2, 2016 at 4:17 PM, Stefan Beller wrote: > -`const struct submodule *submodule_from_path(const unsigned char > *commit_sha1, const char *path)`:: > +`const struct submodule *submodule_from_path(const unsigned char > *commit_or_tree, const char *path)`:: > > Lookup values for

[PATCH 2/3] submodule-config: rename commit_sha1 to commit_or_tree

2016-11-02 Thread Stefan Beller
It is also possible to pass in a tree hash to lookup a submodule config. Make it clear by naming the variables accrodingly. Looking up a submodule config by tree hash will come in handy in a later patch. Signed-off-by: Stefan Beller --- Documentation/technical/api-submodule-config.txt | 4 +- s