I am using git archive
to generate a file which is later hashed to be checked for integrity against a pre-stored hash. However I have not seen anywhere that git archive
is intended for bit repeatability, so I fear that any future changes in git itself, tar, or some other internals may suddenly lead to a different archive being produced from the same repository.
I am right in that this is not an intended use of git archive
? Or can I use it confidently like this?