News for hackers. Stuff that matters.
Re:We Put Half a Million Files in One Git Repository, Here’s... by robertlagrant on Thursday June 16, 2022 @04:07AM (#31763594)
> Just because you place faith in some build step to always work deterministically that does not mean you are following a good practice and everyone else around you is wrong.

You're also doing that everywhere else. How do you think anything works? Why do you think Git is deterministic somehow? Why more so than including some files in a build?

Re:We Put Half a Million Files in One Git Repository, Here’s... by ptha on Thursday June 16, 2022 @10:40AM (#31766598)
Just an example, I had the non-deterministic case using JAXB to generate java classes from XSD Schema files. Running an ANT jaxb task to generate the classes from the same schema files would generate different class files each time. The class files were functionally the same, however it would reorder methods, the order of the variable definitions etc. Possibly due to some internal code using a Map vs List, so order was not guaranteed. In our case the schema files were in Source Control, the Java/Class files were not, the Java/Class files were generated by the build, packaged to a jar and published to our artifact repository.