1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00

todo: actual smudge

This commit is contained in:
Brian Camacho 2024-03-11 10:23:17 -07:00
parent 9ef1c2887f
commit f8bc96abf8

View file

@ -510,6 +510,7 @@ struct GitInputAccessor : InputAccessor
{
auto blob = getBlob(path, symlink);
// read filters here, perform smudge
auto data = std::string_view((const char *) git_blob_rawcontent(blob.get()), git_blob_rawsize(blob.get()));
return std::string(data);