stevelacy/gulp-git — pull request #24 by floatdrop (2014-05-09 09:53:13+00:00)
Title: Supply default cb value

I got this strange messages from gulp-git tag function:

```
/Users/floatdrop/sketchboard/node_modules/gulp-git/lib/tag.js:17
if(err) cb(err);
^
TypeError: undefined is not a function
at /Users/floatdrop/sketchboard/node_modules/gulp-git/lib/tag.js:17:13
```

Instead of this:

```
/Users/floatdrop/sketchboard/node_modules/gulp-git/lib/tag.js:6
if(!cb) { cb = function (err) { if (err) throw err; } }
^
Error: Command failed: fatal: tag 'v0.0.1' already exists
```

I'm using gulp-git to tag and publish code like this:

```js
git.commit(message, { args: '-a' }).end();
git.tag(v, message);
git.push('origin', 'master', '--tags');
```