File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ use bitflags::bitflags;
7
7
use bstr:: BString ;
8
8
use std:: path:: PathBuf ;
9
9
10
+ /// `gix-glob` types are available through [`attributes::glob`].
11
+ pub use gix_attributes as attributes;
12
+
10
13
///
11
14
pub mod normalize {
12
15
use std:: path:: PathBuf ;
Original file line number Diff line number Diff line change 1
1
version https://git-lfs.github.com/spec/v1
2
- oid sha256:343ad9b362536abf88d6fc4519b6532e53e53f8a1b94436c9ec3f88b6874e4df
3
- size 15972
2
+ oid sha256:742241f4ea290fc9088fd5e32423859929bc4b39dccd31d205c67fe3ac9128c0
3
+ size 16028
Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ git init parent
31
31
} >> baseline.git
32
32
}
33
33
34
+ cat << EOF >.gitattributes
35
+ bb bb-file
36
+ bb/ bb-dir
37
+ /bb/ bb-dir-from-top
38
+ EOF
39
+
34
40
for p in a bb dir/b dir/bb dir/nested/c cc; do
35
41
git submodule add ../sub $p
36
42
git config --unset submodule.$p .active
@@ -42,6 +48,11 @@ git init parent
42
48
baseline ' :'
43
49
baseline ' :!'
44
50
baseline ' a'
51
+ baseline ' :(attr:bb-file)'
52
+ # :(attr:bb-dir) - ["bb", "dir/bb"] == []
53
+ baseline ' :(attr:bb-dir)' git-inconsistency # bb/ matches recursively, git doesn't get it
54
+ # :(attr:bb-dir-from-top) - ["bb"] == []
55
+ baseline ' :(attr:bb-dir-from-top)' git-inconsistency # probably git doesn't really care about correctness here
45
56
baseline ' :(icase)A'
46
57
baseline ' :(icase,exclude)A'
47
58
baseline ' :(icase,exclude)*/B*'
You can’t perform that action at this time.
0 commit comments