mirror of
https://github.com/git/git
synced 2024-10-31 01:43:41 +00:00
13 lines
269 B
Text
13 lines
269 B
Text
|
git ls-tree --name-only -r refs/notes/many_notes |
|
||
|
while read path
|
||
|
do
|
||
|
test "$path" = "foobar/non-note.txt" && continue
|
||
|
test "$path" = "deadbeef" && continue
|
||
|
test "$path" = "de/adbeef" && continue
|
||
|
|
||
|
if test $(expr length "$path") -ne $hexsz
|
||
|
then
|
||
|
return 1
|
||
|
fi
|
||
|
done
|