Skip to content

Commit

Permalink
Remove deprecated command line flags (#1110)
Browse files Browse the repository at this point in the history
Those have been made obsolete by the dedicated filter

Change: rm-author-flag
  • Loading branch information
christian-schilling authored Feb 14, 2023
1 parent b505cda commit 1cb3879
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions src/bin/josh-filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ fn make_app() -> clap::Command {
.help("Produce a history that contains only commits listed in the given file")
.long("squash-file")
)
.arg(
clap::Arg::new("author")
.help("Author to use for commits with rewritten message")
.long("author")
)
.arg(
clap::Arg::new("email")
.help("Author email to use for commits with rewritten message")
.long("email")
)
.arg(
clap::Arg::new("single")
.action(clap::ArgAction::SetTrue)
Expand Down
2 changes: 1 addition & 1 deletion tests/filter/squash.t
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

$ git merge -q branch2 --no-ff

$ josh-filter -s --squash-pattern "refs/tags/*" --author "New Author" --email "new@e.mail" --update refs/heads/filtered
$ josh-filter -s --squash-pattern "refs/tags/*" --update refs/heads/filtered
Warning: reference refs/heads/filtered wasn't updated
[1] :squash(

Expand Down

0 comments on commit 1cb3879

Please sign in to comment.