diff options
author | Edward Thomson <ethomson@github.com> | 2022-02-11 18:00:11 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2022-02-11 18:00:11 -0500 |
commit | 458547bd397473fd7664484510a075c18a7b55ab (patch) | |
tree | 0bafd5184e04a49a68149fc80eb66270f0935273 /src/commit_graph.h | |
parent | e651cb1463b971e67eeed0ae2a7c75fb8c547bcc (diff) | |
download | libgit2-458547bd397473fd7664484510a075c18a7b55ab.tar.gz |
diff: provide a flag for whether size is known
Much like we may produce diffs that do not have valid object IDs because
we don't know them (yet), we may also produce diffs that do not have
valid sizes. Previously, we used a `0` size to indicate unknown, but
this is obviously deficient since we could _know_ that a file is 0
bytes.
Create a new flag that indicates that we positively know the size of the
file.
Diffstat (limited to 'src/commit_graph.h')
0 files changed, 0 insertions, 0 deletions