Skip to content

Commit 00eb1f0

Browse files
committed
Also include all option for hash search
Signed-off-by: Gary Kim <[email protected]>
1 parent 27d1bbc commit 00eb1f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/git/repo_commit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ func (repo *Repository) searchCommits(id SHA1, opts SearchCommitsOptions) (*list
226226
}
227227
if opts.All {
228228
cmd.AddArguments("--all")
229+
args = append(args, "--all")
229230
}
230231
if len(opts.Keywords) > 0 {
231232
for _, v := range opts.Keywords {

0 commit comments

Comments
 (0)