mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-20 02:24:58 -05:00
Allow staging tables with merge conflicts.
This commit is contained in:
@@ -110,6 +110,13 @@ func (cmd AddCmd) Exec(ctx context.Context, commandStr string, args []string, dE
|
||||
defer closeFunc()
|
||||
}
|
||||
|
||||
// Allow staging tables with merge conflicts.
|
||||
_, _, err = queryist.Query(sqlCtx, "set @@dolt_force_transaction_commit=1;")
|
||||
if err != nil {
|
||||
cli.PrintErrln(errhand.VerboseErrorFromError(err))
|
||||
return 1
|
||||
}
|
||||
|
||||
ap := cli.CreateAddArgParser()
|
||||
helpPr, _ := cli.HelpAndUsagePrinters(cli.CommandDocsForCommandString(commandStr, addDocs, ap))
|
||||
apr := cli.ParseArgsOrDie(ap, args, helpPr)
|
||||
|
||||
Reference in New Issue
Block a user