2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-21 17:37:16 +00:00

Remove unused -b option

This commit is contained in:
Todd C. Miller 2025-01-04 07:45:07 -07:00
parent 355c82a1d5
commit b52ef1fbbb

View File

@ -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);