Show More
@@ -677,8 +677,15 impl OnUnsupported { | |||
|
677 | 677 | /// The `*` extension is an edge-case for config sub-options that apply to all |
|
678 | 678 | /// extensions. For now, only `:required` exists, but that may change in the |
|
679 | 679 | /// future. |
|
680 | const SUPPORTED_EXTENSIONS: &[&[u8]] = | |
|
681 | &[b"blackbox", b"share", b"sparse", b"narrow", b"*"]; | |
|
680 | const SUPPORTED_EXTENSIONS: &[&[u8]] = &[ | |
|
681 | b"blackbox", | |
|
682 | b"share", | |
|
683 | b"sparse", | |
|
684 | b"narrow", | |
|
685 | b"*", | |
|
686 | b"strip", | |
|
687 | b"rebase", | |
|
688 | ]; | |
|
682 | 689 | |
|
683 | 690 | fn check_extensions(config: &Config) -> Result<(), CommandError> { |
|
684 | 691 | if let Some(b"*") = config.get(b"rhg", b"ignored-extensions") { |
General Comments 0
You need to be logged in to leave comments.
Login now