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:
parent
34a2d1a9dc
commit
166f7e7cc2
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Reference in New Issue