mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Remove unused -b option
This commit is contained in:
parent
355c82a1d5
commit
b52ef1fbbb
@ -32,8 +32,7 @@ my $format="%ad %aN <%aE>%n%h%n%B%n";
|
|||||||
# Parse options and build up "git log" command
|
# Parse options and build up "git log" command
|
||||||
my @cmd = ( "git" );
|
my @cmd = ( "git" );
|
||||||
my %opts;
|
my %opts;
|
||||||
getopts('b:mR:', \%opts);
|
getopts('mR:', \%opts);
|
||||||
push(@cmd, "-b", $opts{"b"}) if exists $opts{"b"};
|
|
||||||
push(@cmd, "--git-dir", $opts{"R"}) if exists $opts{"R"};
|
push(@cmd, "--git-dir", $opts{"R"}) if exists $opts{"R"};
|
||||||
push(@cmd, "log", "--log-size", "--name-only", "--date=short", "--format=$format", @ARGV);
|
push(@cmd, "log", "--log-size", "--name-only", "--date=short", "--format=$format", @ARGV);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user