diff options
Diffstat (limited to 'internal/git2go/revert.go')
-rw-r--r-- | internal/git2go/revert.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/git2go/revert.go b/internal/git2go/revert.go index ca11169bf..8e6169abc 100644 --- a/internal/git2go/revert.go +++ b/internal/git2go/revert.go @@ -50,13 +50,13 @@ func (r RevertCommand) Run(ctx context.Context, cfg config.Cfg) (RevertResult, e return RevertResult{}, err } - stdout, err := run(ctx, cfg, "revert", serialized) + stdout, err := run(ctx, binaryPathFromCfg(cfg), nil, "revert", "-request", serialized) if err != nil { return RevertResult{}, err } var response RevertResult - if err := deserialize(stdout, &response); err != nil { + if err := deserialize(stdout.String(), &response); err != nil { return RevertResult{}, err } |