mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-09 18:59:12 -06:00
PR feedback
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package testcommands TODO: kill off this package, replace with the non-test commands directly
|
||||
package testcommands
|
||||
|
||||
import (
|
||||
|
||||
2
go/libraries/doltcore/env/actions/staged.go
vendored
2
go/libraries/doltcore/env/actions/staged.go
vendored
@@ -26,7 +26,7 @@ func StageTables(ctx context.Context, roots doltdb.Roots, docs doltdocs.Docs, tb
|
||||
var err error
|
||||
roots.Working, err = doltdocs.UpdateRootWithDocs(ctx, roots.Working, docs)
|
||||
if err != nil {
|
||||
return doltdb.Roots{}, nil
|
||||
return doltdb.Roots{}, err
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1
go/libraries/doltcore/env/environment.go
vendored
1
go/libraries/doltcore/env/environment.go
vendored
@@ -946,6 +946,7 @@ func (dEnv *DoltEnv) TempTableFilesDir() string {
|
||||
}
|
||||
|
||||
// GetGCKeepers returns the hashes of all the objects in the environment provided that should be perserved during GC.
|
||||
// TODO: this should be unnecessary since we now store the working set in a noms dataset, remove it
|
||||
func GetGCKeepers(ctx context.Context, env *DoltEnv) ([]hash.Hash, error) {
|
||||
workingRoot, err := env.WorkingRoot(ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user