diff --git a/t/t-duplicate-oids.sh b/t/t-duplicate-oids.sh index 2bf1ba23..170b5838 100755 --- a/t/t-duplicate-oids.sh +++ b/t/t-duplicate-oids.sh @@ -19,7 +19,7 @@ begin_test "multiple revs with same OID get pushed once" # Stash the contents of the file that we want to commit in .git/lfs/objects. object_dir="$(echo $contents_oid \ - | awk '{ print substr($0, 0, 2) "/" substr($0, 3, 2) }')" + | awk '{ print substr($0, 1, 2) "/" substr($0, 3, 2) }')" mkdir -p ".git/lfs/objects/$object_dir" printf "%s" "$contents" > ".git/lfs/objects/$object_dir/$contents_oid"