cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject [2/4] git commit: Added usage of --depth flag
Date Thu, 09 Oct 2014 14:08:26 GMT
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 <maria.bukharina@akvelon.com>
Authored: Thu Oct 9 16:54:48 2014 +0400
Committer: maria.bukharina <maria.bukharina@akvelon.com>
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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message