diff --git a/lfs/diff_index_scanner.go b/lfs/diff_index_scanner.go
index <HASH>..<HASH> 100644
--- a/lfs/diff_index_scanner.go
+++ b/lfs/diff_index_scanner.go
@@ -135,6 +135,7 @@ func (s *DiffIndexScanner) Scan() bool {
 	}
 
 	s.next, s.err = s.scan(s.from.Text())
+	s.err = errors.Wrap(s.err, "diff-index scan")
 
 	return s.err == nil
 }
lfs: re-wrap errors from `DiffIndexScanner.Scan()`