Change fetch arguments up a bit, start migrating

This commit is contained in:
Peter Cottle 2013-10-16 19:41:59 -07:00
parent e5b4ac5b1c
commit 7225e9b7e6
3 changed files with 15 additions and 6 deletions

View file

@ -1051,6 +1051,7 @@ GitEngine.prototype.fetch = function(options) {
)
));
}, this);
if (!commitsToMake.length && !options.dontThrowOnNoFetch) {
throw new GitError({
msg: intl.str('git-error-origin-fetch-uptodate')