blob: 4bb60aae25ab9d36dd97d6023bdd4164852edd28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
2 git ls-tree --name-only -r refs/notes/many_notes |
3 while read path
4 do
5 test "$path" = "foobar/non-note.txt" && continue
6 test "$path" = "deadbeef" && continue
7 test "$path" = "de/adbeef" && continue
8
9 if test $(expr length "$path") -ne $hexsz
10 then
11 return 1
12 fi
13 done
|