ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Samuel Tardieu 0ca4e2dad2 git: absence of globs is None rather than &[]
In `git_fetch()`, any glob present in `globs` is an "allow" mark. Using
`&[]` to represent an "allow-all" may be misleading, as it could
indicate that no branch (only the git HEAD) should be fetched.

By using an `Option<&[&str]>`, it is clearer that `None` means that
all branches are fetched.
2023-03-02 10:09:08 +01:00
..
gen-protos
src git: absence of globs is None rather than &[] 2023-03-02 10:09:08 +01:00
tests git: absence of globs is None rather than &[] 2023-03-02 10:09:08 +01:00
testutils
build.rs
Cargo.toml