|
|
@ -193,12 +193,12 @@ pub fn info(verbose: bool) {
|
|
|
|
let table = if git_info {
|
|
|
|
let table = if git_info {
|
|
|
|
tabled::Table::new(&repos_git)
|
|
|
|
tabled::Table::new(&repos_git)
|
|
|
|
.with(tabled::Style::modern())
|
|
|
|
.with(tabled::Style::modern())
|
|
|
|
.with(tabled::Width::wrap(width as usize))
|
|
|
|
.with(tabled::Width::wrap(width as usize).keep_words())
|
|
|
|
.to_string()
|
|
|
|
.to_string()
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
tabled::Table::new(&repos)
|
|
|
|
tabled::Table::new(&repos)
|
|
|
|
.with(tabled::Style::modern())
|
|
|
|
.with(tabled::Style::modern())
|
|
|
|
.with(tabled::Width::wrap(width as usize))
|
|
|
|
.with(tabled::Width::wrap(width as usize).keep_words())
|
|
|
|
.to_string()
|
|
|
|
.to_string()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -215,8 +215,7 @@ pub fn info(verbose: bool) {
|
|
|
|
println!("{}", table);
|
|
|
|
println!("{}", table);
|
|
|
|
if config.mode.workspace.is_some() && config.mode.workspace.as_ref().unwrap().git_info {
|
|
|
|
if config.mode.workspace.is_some() && config.mode.workspace.as_ref().unwrap().git_info {
|
|
|
|
info!(
|
|
|
|
info!(
|
|
|
|
"Key: \n \
|
|
|
|
"D: Dirty - Unstaged Changes \n \
|
|
|
|
D: Dirty - Unstaged Changes \n \
|
|
|
|
|
|
|
|
Pl: Pull - Changes at Remote \n \
|
|
|
|
Pl: Pull - Changes at Remote \n \
|
|
|
|
Ps: Push - Unpushed Changes \n \
|
|
|
|
Ps: Push - Unpushed Changes \n \
|
|
|
|
{}: Applies, {}: Does Not Apply",
|
|
|
|
{}: Applies, {}: Does Not Apply",
|
|
|
|