Skip to content

Commit 1cb3879

Browse files
Remove deprecated command line flags (#1110)
Those have been made obsolete by the dedicated filter Change: rm-author-flag
1 parent b505cda commit 1cb3879

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/bin/josh-filter.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ fn make_app() -> clap::Command {
4545
.help("Produce a history that contains only commits listed in the given file")
4646
.long("squash-file")
4747
)
48-
.arg(
49-
clap::Arg::new("author")
50-
.help("Author to use for commits with rewritten message")
51-
.long("author")
52-
)
53-
.arg(
54-
clap::Arg::new("email")
55-
.help("Author email to use for commits with rewritten message")
56-
.long("email")
57-
)
5848
.arg(
5949
clap::Arg::new("single")
6050
.action(clap::ArgAction::SetTrue)

tests/filter/squash.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
$ git merge -q branch2 --no-ff
3030

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

0 commit comments

Comments
 (0)