Skip to content

Commit

Permalink
Also include all option for hash search
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Kim <gary@garykim.dev>
  • Loading branch information
gary-kim committed Jul 11, 2019
1 parent 27d1bbc commit 00eb1f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/git/repo_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ func (repo *Repository) searchCommits(id SHA1, opts SearchCommitsOptions) (*list
}
if opts.All {
cmd.AddArguments("--all")
args = append(args, "--all")
}
if len(opts.Keywords) > 0 {
for _, v := range opts.Keywords {
Expand Down

0 comments on commit 00eb1f0

Please sign in to comment.