--- a/lib/util.js 2020-05-09 10:49:14.898221966 +0200 +++ b/lib/util.js 2020-05-09 10:49:41.851556843 +0200 @@ -527,7 +527,7 @@ }, gclientSync: (reset = false, options = {}) => { - let args = ['sync', '--force', '--nohooks', '--with_branch_heads', '--with_tags'] + let args = ['sync', '--no-history', '--shallow', '--force', '--nohooks', '--with_branch_heads', '--with_tags'] if (reset) args.push('--upstream') runGClient(args, options)