Skip to content

Commit d573c0d

Browse files
committed
Remove debug output
1 parent 39bbd03 commit d573c0d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/it/src/commands/create_diff_cases.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub(super) mod function {
2222
let sliders = std::fs::read_to_string(&sliders_file)?;
2323

2424
eprintln!(
25-
"read {} which has {} lines",
25+
"Read '{}' which has {} lines",
2626
sliders_file.display(),
2727
sliders.lines().count()
2828
);
@@ -40,8 +40,6 @@ pub(super) mod function {
4040
})
4141
.collect();
4242

43-
eprintln!("{sliders:?}");
44-
4543
let repo = gix::open(worktree_dir)?;
4644

4745
let asset_dir = asset_dir.unwrap_or("assets".into());
@@ -71,19 +69,11 @@ mkdir -p {asset_dir}
7169
let old_blob_id = revspec
7270
.single()
7371
.context(format!("rev-spec '{before}' must resolve to a single object"))?;
74-
let (old_path, _) = revspec
75-
.path_and_mode()
76-
.context(format!("rev-spec '{before}' must contain a path"))?;
7772

7873
let revspec = repo.rev_parse(*after)?;
7974
let new_blob_id = revspec
8075
.single()
8176
.context(format!("rev-spec '{after}' must resolve to a single object"))?;
82-
let (new_path, _) = revspec
83-
.path_and_mode()
84-
.context(format!("rev-spec '{after}' must contain a path"))?;
85-
86-
eprintln!("{old_blob_id:?} {old_path:?} {new_blob_id:?} {new_path:?}");
8777

8878
let dst_old_blob = assets.join(format!("{old_blob_id}.blob"));
8979
let dst_new_blob = assets.join(format!("{new_blob_id}.blob"));

0 commit comments

Comments
 (0)