projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
packaging: Add contrib installation
[platform/upstream/git.git]
/
t
/
t3305-notes-fanout.sh
diff --git
a/t/t3305-notes-fanout.sh
b/t/t3305-notes-fanout.sh
index
3b4753e
..
94c1b02
100755
(executable)
--- a/
t/t3305-notes-fanout.sh
+++ b/
t/t3305-notes-fanout.sh
@@
-7,7
+7,7
@@
test_description='Test that adding/removing many notes triggers automatic fanout
path_has_fanout() {
path=$1 &&
fanout=$2 &&
- after_last_slash=$((
40
- $fanout * 2)) &&
+ after_last_slash=$((
$(test_oid hexsz)
- $fanout * 2)) &&
echo $path | grep -q "^\([0-9a-f]\{2\}/\)\{$fanout\}[0-9a-f]\{$after_last_slash\}$"
}