forked from lix-project/lix
fetchGit: add submodules attribute to the .link file
The .link file is used as a lock, so I think we should put the "submodule" attribute in there since turning on submodules creates a new .link file path.
This commit is contained in:
parent
6864ad7cf5
commit
369fffd6f1
|
@ -211,6 +211,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
|
|||
json["name"] = name;
|
||||
json["rev"] = gitInfo.rev;
|
||||
json["revCount"] = gitInfo.revCount;
|
||||
json["submodules"] = gitInfo.submodules;
|
||||
|
||||
writeFile(storeLink, json.dump());
|
||||
|
||||
|
|
Loading…
Reference in a new issue