…so that it always comes from git-object if possible, and so that major users like git-ref re-export it. The re-export is really something to possibly change to put that onto git-repository level, as well.
Showing the changes to git-repository/src/commit.rs (1 of 44 files). Show all
Unified · Split
| @@ -1,6 +1,6 @@ | |||
| 1 | use std::borrow::Cow; | 1 | use std::borrow::Cow; |
| 2 | 2 | ||
| 3 | use bstr::{BStr, BString, ByteSlice, ByteVec}; | 3 | use git_object::bstr::{BStr, BString, ByteSlice, ByteVec}; |
| 4 | 4 | ||
| 5 | /// An empty array of a type usable with the `git::easy` API to help declaring no parents should be used | 5 | /// An empty array of a type usable with the `git::easy` API to help declaring no parents should be used |
| 6 | pub const NO_PARENT_IDS: [git_hash::ObjectId; 0] = []; | 6 | pub const NO_PARENT_IDS: [git_hash::ObjectId; 0] = []; |