index.js
function( files, options, callback ) {
	if ( !Array.isArray( files ) ) {
		files = [files];
	}
	if ( typeof options === 'function' ) {
		callback = options;
		options = null;
	} else if ( typeof options === 'string' ) {
		options = { msg: options };
	}
	options = options || {};
	addExtraOptions( [ 'quiet', 'depth', 'msg' ], options );
	executeSvn( [ 'commit' ].concat( files ), options, callback );
}
function( files, options, callback ) {
	if ( !Array.isArray( files ) ) {
		files = [files];
	}
	if ( typeof options === 'function' ) {
		callback = options;
		options = null;
	} else if ( typeof options === 'string' ) {
		options = { msg: options };
	}
	options = options || {};
	addExtraOptions( [ 'quiet', 'depth', 'msg' ], options );
	executeSvn( [ 'commit' ].concat( files ), options, callback );
}
function ( files , options , callback ) { if ( ! Array . isArray ( files ) ) { files = [ files ] ; } if ( typeof options === 'function' ) { callback = options ; options = null ; } else if ( typeof options === 'string' ) { options = { msg : options } ; } options = options || { } ; addExtraOptions ( [ 'quiet' , 'depth' , 'msg' ] , options ) ; executeSvn ( [ 'commit' ] . concat ( files ) , options , callback ) ; }
Commits a working copy to a repository
@function commit
@memberof commands
@param {Array|string} files - Array of files / folders to commit
@param {object} [options] - Options object
@param {function} [callback] - Complete callback
@alias ci
Commits a working copy to a repository