Skip to content

Commit

Permalink
Remove the log command
Browse files Browse the repository at this point in the history
Remove the log command because it is simply a proxy command that
provides no value and just acts as noise in the command surface area.
Making it harder for new users to figure out what to focus on and learn.

[changelog]
removed: the log command

<!-- ps-id: 71323329-503b-4015-ac50-d5b0a830527a -->
  • Loading branch information
drewdeponte committed Oct 20, 2023
1 parent e8f05a0 commit 24d7d20
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 29 deletions.
3 changes: 0 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@ stack.
#[command(name = "checkout", alias = "co")]
Checkout(CheckoutCmdOpts),

/// display a log of integrated patches
Log,

/// (f) - Fetch state from remote and display upstream patches
#[command(name = "fetch", alias = "f")]
Fetch,
Expand Down
11 changes: 0 additions & 11 deletions src/commands/log.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ pub mod fetch;
pub mod integrate;
pub mod isolate;
pub mod list;
pub mod log;
pub mod patch_index_range;
pub mod pull;
pub mod rebase;
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pub use ps::public::integrate;
pub use ps::public::isolate::{isolate, IsolateError};
pub use ps::public::latest_github_release::{newer_release_available, notify_of_newer_release};
pub use ps::public::list::list;
pub use ps::public::log::log;
pub use ps::public::pull::{pull, PullError};
pub use ps::public::rebase::rebase;
pub use ps::public::request_review::{request_review, RequestReviewError};
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ fn main() {
commands::isolate::isolate(opts.patch_index_or_range, cli.color)
}
cli::Command::Checkout(opts) => commands::checkout::checkout(opts.patch_index),
cli::Command::Log => commands::log::log(),
cli::Command::Fetch => commands::fetch::fetch(cli.color),
#[cfg(feature = "backup_cmd")]
cli::Command::BackupStack(opts) => commands::backup_stack::backup_stack(opts.branch_name),
Expand Down
11 changes: 0 additions & 11 deletions src/ps/public/log.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/ps/public/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ pub mod integrate;
pub mod isolate;
pub mod latest_github_release;
pub mod list;
pub mod log;
pub mod pull;
pub mod rebase;
pub mod request_review;
Expand Down

0 comments on commit 24d7d20

Please sign in to comment.