Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/bin/josh-filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,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