mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
cli: Minimize patch info on creation
Reduce noise when showing patch information to the user on creation by only showing the git branch name and not the commit reference.
This commit is contained in:
@@ -29,7 +29,7 @@ $ rad patch open --message "Define power requirements" --message "See details."
|
||||
✓ Pushing HEAD to storage...
|
||||
✓ Analyzing remotes...
|
||||
|
||||
master (f2de534) <- z6MknSL…StBU8Vi/flux-capacitor-power (3e674d1)
|
||||
master <- z6MknSL…StBU8Vi/flux-capacitor-power (3e674d1)
|
||||
|
||||
1 commit(s) ahead, 0 commit(s) behind
|
||||
|
||||
|
||||
@@ -58,9 +58,8 @@ fn show_patch_commit_info(
|
||||
|
||||
term::blank();
|
||||
term::info!(
|
||||
"{} ({}) <- {}/{} ({})",
|
||||
"{} <- {}/{} ({})",
|
||||
term::format::highlight(target_ref),
|
||||
term::format::secondary(term::format::oid(*target_oid)),
|
||||
term::format::dim(term::format::node(node_id)),
|
||||
term::format::highlight(branch_name(head_branch)?),
|
||||
term::format::secondary(term::format::oid(head_oid)),
|
||||
|
||||
Reference in New Issue
Block a user