Skip to content

Commit 93cb5ba

Browse files
committed
fix: fix check to detect git-lfs managed files that weren't checked out.
Previously it would detect them incorrectly due to a find-and-replace error.
1 parent cbdbb8a commit 93cb5ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tools/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ fn should_skip_all_archive_creation() -> bool {
680680
}
681681

682682
fn is_lfs_pointer_file(path: &Path) -> bool {
683-
const PREFIX: &[u8] = b"version https://gix-lfs";
683+
const PREFIX: &[u8] = b"version https://git-lfs";
684684
let mut buf = [0_u8; PREFIX.len()];
685685
std::fs::OpenOptions::new()
686686
.read(true)

0 commit comments

Comments
 (0)