fix typo in comment so i dont say ammend again. Issue #233 PR #234

This commit is contained in:
Peter Cottle 2015-01-08 19:06:08 -08:00
parent 3f5bd7e940
commit 0456426949

View file

@ -1528,7 +1528,7 @@ GitEngine.prototype.commit = function(options) {
var targetCommit = this.getCommitFromRef(this.HEAD);
var id = null;
// if we want to ammend, go one above
// if we want to amend, go one above
if (options.isAmend) {
targetCommit = this.resolveID('HEAD~1');
id = this.rebaseAltID(this.getCommitFromRef('HEAD').get('id'));