rm loose string

This commit is contained in:
Elian
2025-06-23 14:56:28 -07:00
parent 9fb02aa861
commit 98412e13f5

View File

@@ -163,7 +163,7 @@ func doDoltCheckout(ctx *sql.Context, args []string) (statusCode int, successMes
}
validRemoteRefExists := remoteRefs != nil && len(remoteRefs) >= 1
``
if dashDashPos == 1 && (localRefExists || validRemoteRefExists) {
// dolt checkout <ref> --: disambiguates a tracking branch when it shares a name with local table(s).
if apr.NArg() == 1 { // assume some <ref> specified because dashDashPos is 1