@@ -195,14 +195,10 @@ def self.git_commits
195
195
end
196
196
197
197
def self . git_commits_rev_list ( included_commits :, excluded_commits :)
198
- p "git_commits_rev_list"
199
198
Telemetry . git_command ( Ext ::Telemetry ::Command ::GET_OBJECTS )
200
199
included_commits = filter_invalid_commits ( included_commits ) . join ( " " )
201
200
excluded_commits = filter_invalid_commits ( excluded_commits ) . map! { |sha | "^#{ sha } " } . join ( " " )
202
201
203
- p "included: #{ included_commits } "
204
- p "excluded: #{ excluded_commits } "
205
-
206
202
res = nil
207
203
208
204
duration_ms = Core ::Utils ::Time . measure ( :float_millisecond ) do
@@ -216,29 +212,19 @@ def self.git_commits_rev_list(included_commits:, excluded_commits:)
216
212
)
217
213
end
218
214
219
- p "result: #{ res } "
220
-
221
215
Telemetry . git_command_ms ( Ext ::Telemetry ::Command ::GET_OBJECTS , duration_ms )
222
216
223
217
res
224
218
rescue => e
225
- p "error!!!!!!!!!!"
226
- p e
227
219
log_failure ( e , "git commits rev list" )
228
220
telemetry_track_error ( e , Ext ::Telemetry ::Command ::GET_OBJECTS )
229
221
nil
230
222
end
231
223
232
224
def self . git_generate_packfiles ( included_commits :, excluded_commits :, path :)
233
- p "git_generate_packfiles"
234
- p "path: #{ path } "
235
- p "included_commits: #{ included_commits } "
236
- p "excluded_commits: #{ excluded_commits } "
237
225
return nil unless File . exist? ( path )
238
226
239
227
commit_tree = git_commits_rev_list ( included_commits : included_commits , excluded_commits : excluded_commits )
240
- p "commit_tree"
241
- p commit_tree
242
228
return nil if commit_tree . nil?
243
229
244
230
basename = SecureRandom . hex ( 4 )
@@ -255,7 +241,6 @@ def self.git_generate_packfiles(included_commits:, excluded_commits:, path:)
255
241
256
242
basename
257
243
rescue => e
258
- p e
259
244
log_failure ( e , "git generate packfiles" )
260
245
telemetry_track_error ( e , Ext ::Telemetry ::Command ::PACK_OBJECTS )
261
246
nil
0 commit comments