aboutsummaryrefslogtreecommitdiff
path: root/apps/servers/octopus/supergit/src/bin/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/servers/octopus/supergit/src/bin/test.rs')
-rw-r--r--apps/servers/octopus/supergit/src/bin/test.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/servers/octopus/supergit/src/bin/test.rs b/apps/servers/octopus/supergit/src/bin/test.rs
index 5398d7539490..6a370dd3716b 100644
--- a/apps/servers/octopus/supergit/src/bin/test.rs
+++ b/apps/servers/octopus/supergit/src/bin/test.rs
@@ -25,21 +25,17 @@ fn main() {
// Iterate over all branch iterators we get
while let Some(biter) = rx.recv().ok() {
use BranchCommit::*;
- println!(
- "{}: {}",
- biter.current().id_str(),
- biter.current().summary()
- );
biter.for_each(|bc| match bc {
Commit(c) => println!("{}: {}", c.id_str(), c.summary()),
- Merge(Some(c), b) => {
+ Merge(c, _b) => {
println!("{}: {}", c.id_str(), c.summary());
// tx.send(b.get_all()).unwrap();
}
- Merge(_, b) => {} //tx.send(b.get_all()).unwrap(),
_ => todo!(),
});
+
+ break;
}
// let rr = RawRepository::open(path.as_str()).unwrap();