mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 10:30:41 +08:00
node: Propagate ref updates
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
+5
-1
@@ -128,8 +128,12 @@ fn fetch<W: Write, H: Handle>(id: Id, mut writer: W, handle: &H) -> Result<(), D
|
||||
|
||||
for result in results.iter() {
|
||||
match result {
|
||||
FetchResult::Fetched { from } => {
|
||||
FetchResult::Fetched { from, updated } => {
|
||||
writeln!(writer, "ok: {} fetched from {}", &id, from)?;
|
||||
|
||||
for update in updated {
|
||||
writeln!(writer, "{}", update)?;
|
||||
}
|
||||
}
|
||||
FetchResult::Error { from, error } => {
|
||||
writeln!(
|
||||
|
||||
Reference in New Issue
Block a user