Skip to content

Commit

Permalink
Remove upstream-patches command
Browse files Browse the repository at this point in the history
Remove upstream-patches command as it is just a plumbing command that we
exposed and is creating noise in the command surface area and making
things feel overwhelming to initial users.

[changelog]
removed: the upstream-patches command

<!-- ps-id: c46ad57d-a5cb-4c93-bdf2-cae405346326 -->
  • Loading branch information
drewdeponte committed Oct 20, 2023
1 parent cf5da6e commit 385a6d7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 25 deletions.
4 changes: 0 additions & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ stack.
/// unstage currently staged changes
Unstage(UnstageCmdOpts),

/// (up) - List the upstream patches
#[command(name = "upstream-patches", alias = "up")]
UpstreamPatches,

/// (f) - Fetch state from remote and display upstream patches
#[command(name = "fetch", alias = "f")]
Fetch,
Expand Down
1 change: 0 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ pub mod show;
pub mod status;
pub mod sync;
pub mod unstage;
pub mod upstream_patches;
pub mod utils;
19 changes: 0 additions & 19 deletions src/commands/upstream_patches.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ fn main() {
cli::Command::Status => commands::status::status(),
cli::Command::Log => commands::log::log(),
cli::Command::Unstage(opts) => commands::unstage::unstage(opts.files),
cli::Command::UpstreamPatches => commands::upstream_patches::upstream_patches(cli.color),
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

0 comments on commit 385a6d7

Please sign in to comment.