Skip to content

Commit

Permalink
Update go/cmd/dolt/commands/show.go
Browse files Browse the repository at this point in the history
  • Loading branch information
macneale4 authored Jan 10, 2025
1 parent 78d7d14 commit d4b2722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/cmd/dolt/commands/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (cmd ShowCmd) Exec(ctx context.Context, commandStr string, args []string, d
for _, specRef := range opts.specRefs {
if !hashRegex.MatchString(specRef) && !strings.EqualFold(specRef, "HEAD") {
// Call "dolt_hashof" to resolve the ref to a hash. the --no-pretty flag gets around the commit requirement, but
// requires the full object name so it will match the hashRegex and never his this code block.
// requires the full object name so it will match the hashRegex and never hit this code block.
h, err2 := getHashOf(queryist, sqlCtx, specRef)
if err2 != nil {
cli.PrintErrln("error: failed to resolve ref to commit: %s ", specRef)
Expand Down

0 comments on commit d4b2722

Please sign in to comment.