I am using git log --find-object
to identify commits by providing git file blobs (file content hashes).
This works fine, I get the blob before for a file by using git hash-object
However, when I issue git hash-object
for the very same file, and I have set core.autocrlf=true
, I get a different blob (hash value).
Accordingly git log --find-object
does not identify a commit that corresponds to that 'new' blob.
What happens here? Does this mean that git hash-object
does not 'work' when core.autocrlf=true
?