fetch: Keep .lazy = true
Solves #19725
This seems like a wrong way to do it. If we currently have guarantees that zig fetch --save <url> only needs to change the url and the hash, I think a better implementation is to change the url and the hash and to not touch any other fields.
The way this PR is done, it only works in current context, what if in the future another field is introduced for another use-case. It just doesn't seem practical to keep changing it on every new field that is added increasing maintenance burden.
But that's just my 2 cents. Maybe some core team member can chime in and give feedback.
I've changed the implementation to now only touch the hash and location fields when updating dependencies
Thanks!