aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-lfs/fix-test-locks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/git-lfs/fix-test-locks.patch')
-rw-r--r--community/git-lfs/fix-test-locks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/git-lfs/fix-test-locks.patch b/community/git-lfs/fix-test-locks.patch
new file mode 100644
index 0000000000..dabbfce8a3
--- /dev/null
+++ b/community/git-lfs/fix-test-locks.patch
@@ -0,0 +1,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