-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Currently, our pointer parsing is a bit too generous. We accept carriage returns as well as files with an explicit size of zero. Neither one of these is conformant with the spec, and accepting them leads to round-tripping problems, since multiple files can represent the same object. This leads to Git showing the file as changed in some cases.
We should reject both of these cases and add tests for handling them (as well as empty files) appropriately.
Reactions are currently unavailable