File tree Expand file tree Collapse file tree 1 file changed +0
-101
lines changed Expand file tree Collapse file tree 1 file changed +0
-101
lines changed Original file line number Diff line number Diff line change @@ -236,110 +236,9 @@ cmd_deinit()
236
236
#
237
237
cmd_update ()
238
238
{
239
- opts=
240
- # parse $args after "submodule ... update".
241
- while test $# -ne 0
242
- do
243
- case " $1 " in
244
- -q|--quiet)
245
- opts=" $opts $1 "
246
- ;;
247
- --progress)
248
- opts=" $opts $1 "
249
- ;;
250
- -i|--init)
251
- opts=" $opts $1 "
252
- ;;
253
- --require-init)
254
- opts=" $opts $1 "
255
- ;;
256
- --remote)
257
- opts=" $opts $1 "
258
- ;;
259
- -N|--no-fetch)
260
- opts=" $opts $1 "
261
- ;;
262
- -f|--force)
263
- opts=" $opts $1 "
264
- ;;
265
- -r|--rebase)
266
- opts=" $opts $1 "
267
- ;;
268
- --reference)
269
- case " $2 " in ' ' ) usage ;; esac
270
- opts=" $opts $1 $2 "
271
- shift
272
- ;;
273
- --reference=* )
274
- opts=" $opts $1 "
275
- ;;
276
- --dissociate)
277
- opts=" $opts $1 "
278
- ;;
279
- -m|--merge)
280
- opts=" $opts $1 "
281
- ;;
282
- --recursive)
283
- opts=" $opts $1 "
284
- ;;
285
- --checkout)
286
- opts=" $opts $1 "
287
- ;;
288
- --recommend-shallow)
289
- opts=" $opts $1 "
290
- ;;
291
- --no-recommend-shallow)
292
- opts=" $opts $1 "
293
- ;;
294
- --depth)
295
- case " $2 " in ' ' ) usage ;; esac
296
- opts=" $opts $1 $2 "
297
- shift
298
- ;;
299
- --depth=* )
300
- opts=" $opts $1 "
301
- ;;
302
- -j|--jobs)
303
- case " $2 " in ' ' ) usage ;; esac
304
- opts=" $opts $1 $2 "
305
- shift
306
- ;;
307
- --jobs=* )
308
- opts=" $opts $1 "
309
- ;;
310
- --single-branch)
311
- opts=" $opts $1 "
312
- ;;
313
- --no-single-branch)
314
- opts=" $opts $1 "
315
- ;;
316
- --filter)
317
- case " $2 " in ' ' ) usage ;; esac
318
- opts=" $opts $1 $2 "
319
- shift
320
- ;;
321
- --filter=* )
322
- opts=" $opts $1 "
323
- ;;
324
- --)
325
- shift
326
- break
327
- ;;
328
- -* )
329
- usage
330
- ;;
331
- * )
332
- break
333
- ;;
334
- esac
335
- shift
336
- done
337
-
338
239
git ${wt_prefix: +-C " $wt_prefix " } submodule--helper update \
339
240
${wt_prefix: +--prefix " $wt_prefix " } \
340
241
${prefix: +--recursive-prefix " $prefix " } \
341
- $opts \
342
- -- \
343
242
" $@ "
344
243
}
345
244
You can’t perform that action at this time.
0 commit comments