summaryrefslogtreecommitdiff
path: root/src/commit_graph.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2022-02-11 18:00:11 -0500
committerEdward Thomson <ethomson@github.com>2022-02-11 18:00:11 -0500
commit458547bd397473fd7664484510a075c18a7b55ab (patch)
tree0bafd5184e04a49a68149fc80eb66270f0935273 /src/commit_graph.h
parente651cb1463b971e67eeed0ae2a7c75fb8c547bcc (diff)
downloadlibgit2-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