You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/test-pre-push.sh
+42-1Lines changed: 42 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ begin_test "pre-push with existing pointer"
173
173
)
174
174
end_test
175
175
176
-
begin_test "pre-push with missing pointer"
176
+
begin_test "pre-push with missing pointer not on server"
177
177
(
178
178
set -e
179
179
@@ -194,3 +194,44 @@ begin_test "pre-push with missing pointer"
194
194
grep "new.dat is an LFS pointer to 7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c, which does not exist in .git/lfs/objects" push.log
195
195
)
196
196
end_test
197
+
198
+
begin_test "pre-push with missing pointer which is on server"
199
+
(
200
+
# should permit push if files missing locally but are on server, shouldn't
0 commit comments