From b52ef1fbbb90df16da3676aeb8f3df90f291fcd8 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 4 Jan 2025 07:45:07 -0700 Subject: [PATCH] Remove unused -b option --- scripts/log2cl.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/log2cl.pl b/scripts/log2cl.pl index 67a78cef2..7e376d9b9 100755 --- a/scripts/log2cl.pl +++ b/scripts/log2cl.pl @@ -32,8 +32,7 @@ my $format="%ad %aN <%aE>%n%h%n%B%n"; # Parse options and build up "git log" command my @cmd = ( "git" ); my %opts; -getopts('b:mR:', \%opts); -push(@cmd, "-b", $opts{"b"}) if exists $opts{"b"}; +getopts('mR:', \%opts); push(@cmd, "--git-dir", $opts{"R"}) if exists $opts{"R"}; push(@cmd, "log", "--log-size", "--name-only", "--date=short", "--format=$format", @ARGV);