aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-lfs/fix-test-locks.patch
blob: dabbfce8a3da0ee0cc4e6dfc4f1ec770ab33a990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
This is probably a typo. I have no idea why it does not fail for upstream...

--- a/test/test-locks.sh
+++ b/test/test-locks.sh
@@ -100,7 +100,7 @@
 
   for i in $(seq 1 5); do
     git lfs lock --json "h_$i.dat" | tee lock.log
-    assert_server_lock "$reponame" "$(assert_lock "lock.log" "h_$1.dat")"
+    assert_server_lock "$reponame" "$(assert_lock "lock.log" "h_$i.dat")"
   done
 
   # The server will return, at most, three locks at a time