commandline changes

This commit is contained in:
Peter Cottle 2012-08-20 12:55:14 -07:00
parent 34f547b56a
commit 8d42c362eb
2 changed files with 57 additions and 70 deletions

View file

@ -249,6 +249,13 @@ GitEngine.prototype._deleteBranch = function(name) {
delete this.refs[id];
};
GitEngine.prototype.add = function() {
throw new Error(
"This demo is meant to demonstrate git branching, so don't worry about " +
"adding / staging files. Just go ahead and commit away!"
);
};
GitEngine.prototype.execute = function(command, callback) {
// execute command, and when it's finished, call the callback
// we still need to figure this out