Added usage of --depth flag
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/5e867f2c Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/5e867f2c Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/5e867f2c Branch: refs/heads/CB-7744 Commit: 5e867f2c7a567ea4a79d9230f8aa9eeed7fe88ee Parents: d464771 Author: maria.bukharina <[email protected]> Authored: Thu Oct 9 16:54:48 2014 +0400 Committer: maria.bukharina <[email protected]> Committed: Thu Oct 9 16:54:48 2014 +0400 ---------------------------------------------------------------------- src/repo-clone.js | 1 + src/repo-update.js | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/5e867f2c/src/repo-clone.js ---------------------------------------------------------------------- diff --git a/src/repo-clone.js b/src/repo-clone.js index a052c11..ffc4e9e 100644 --- a/src/repo-clone.js +++ b/src/repo-clone.js @@ -27,6 +27,7 @@ var print = apputil.print; module.exports = function*(argv) { var opt = flagutil.registerRepoFlag(optimist) opt = flagutil.registerHelpFlag(opt); + opt = flagutil.registerDepthFlag(opt); var argv = opt .usage('Clones git repositories into the current working directory. If the repositories are already cloned, then this is a no-op.\n\n' + 'Usage: $0 clone --repo=name [--repo=othername]') http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/5e867f2c/src/repo-update.js ---------------------------------------------------------------------- diff --git a/src/repo-update.js b/src/repo-update.js index 32c4b22..e6c8e03 100644 --- a/src/repo-update.js +++ b/src/repo-update.js @@ -27,6 +27,7 @@ var print = apputil.print; module.exports = function*(argv) { var opt = flagutil.registerRepoFlag(optimist) + opt = flagutil.registerDepthFlag(opt); var opt = opt .options('b', { alias: 'branch', --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
