git-clone-or-pull follows Semantic Versioning.
- Support Node 10 and Node 12
- Drop Node 4, Node 6, and Node 7
- JSHint is now marked as a development dependency, not a production dependency (#22)
- Upgrade to NodeGit@0.20
- Upgrade to NodeGit@0.19, fixing some failures with Node 7
- Drop support for Node 5 due to NodeGit doing the same
- Stop pretending we support Node 8 when NodeGit upstream doesn't support Node 8
- Support specifying which branch to use
- Upgrade to smart-spawn@2
- The NodeGit implementation now properly passes clone errors to the callback
- Node 0.10 support has been dropped
- Pulling no longer double-checks that the on-disk
originremote URL matches the provided URL
- Support Node 0.10 by not using
require('child_process').spawnSync
- Actually mark NodeGit as optional in
package.json
- New
gitsubprocess-based implementation which is used automatically if NodeGit can't be loaded
- NodeGit is now an optional dependency
- Advanced options can be specified by passing an object instead of a pathname
- The passed
callbackis now called by the NodeGit implementation if the repo hasn't been cloned yet
- Initial release