moving manager over to the engine for now
This commit is contained in:
		@@ -2,12 +2,12 @@ package clientcmd
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	clientconfig "github.com/deranjer/gvc/client/clientconfig"
 | 
			
		||||
	"github.com/deranjer/gvc/common/manager"
 | 
			
		||||
	"github.com/deranjer/gvc/common/engine"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Commit commits the tracked files and changes to the repo
 | 
			
		||||
func Commit(conf *clientconfig.Gvcconfig, commitMessage string, m *manager.Manager) error {
 | 
			
		||||
	m.BeginCommit(conf.CurrentBranch)
 | 
			
		||||
func Commit(conf *clientconfig.Gvcconfig, commitMessage string, m *engine.Manager) error {
 | 
			
		||||
	m.BeginCommit(conf.CurrentBranch, commitMessage)
 | 
			
		||||
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user