@@ -129,7 +129,17 @@ cmd_add()
129
129
usage
130
130
fi
131
131
132
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper add ${quiet: +--quiet} ${force: +--force} ${progress: +" --progress" } ${branch: +--branch " $branch " } ${reference_path: +--reference " $reference_path " } ${dissociate: +--dissociate} ${custom_name: +--name " $custom_name " } ${depth: +" $depth " } -- " $@ "
132
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper add \
133
+ ${quiet: +--quiet} \
134
+ ${force: +--force} \
135
+ ${progress: +" --progress" } \
136
+ ${branch: +--branch " $branch " } \
137
+ ${reference_path: +--reference " $reference_path " } \
138
+ ${dissociate: +--dissociate} \
139
+ ${custom_name: +--name " $custom_name " } \
140
+ ${depth: +" $depth " } \
141
+ -- \
142
+ " $@ "
133
143
}
134
144
135
145
#
@@ -160,7 +170,11 @@ cmd_foreach()
160
170
shift
161
171
done
162
172
163
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper foreach ${quiet: +--quiet} ${recursive: +--recursive} -- " $@ "
173
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper foreach \
174
+ ${quiet: +--quiet} \
175
+ ${recursive: +--recursive} \
176
+ -- \
177
+ " $@ "
164
178
}
165
179
166
180
#
@@ -191,7 +205,10 @@ cmd_init()
191
205
shift
192
206
done
193
207
194
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper init ${quiet: +--quiet} -- " $@ "
208
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper init \
209
+ ${quiet: +--quiet} \
210
+ -- \
211
+ " $@ "
195
212
}
196
213
197
214
#
@@ -227,7 +244,12 @@ cmd_deinit()
227
244
shift
228
245
done
229
246
230
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper deinit ${quiet: +--quiet} ${force: +--force} ${deinit_all: +--all} -- " $@ "
247
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper deinit \
248
+ ${quiet: +--quiet} \
249
+ ${force: +--force} \
250
+ ${deinit_all: +--all} \
251
+ -- \
252
+ " $@ "
231
253
}
232
254
233
255
#
@@ -399,7 +421,12 @@ cmd_set_branch() {
399
421
shift
400
422
done
401
423
402
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-branch ${quiet: +--quiet} ${branch: +--branch " $branch " } ${default: +--default} -- " $@ "
424
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-branch \
425
+ ${quiet: +--quiet} \
426
+ ${branch: +--branch " $branch " } \
427
+ ${default: +--default} \
428
+ -- \
429
+ " $@ "
403
430
}
404
431
405
432
#
@@ -428,7 +455,10 @@ cmd_set_url() {
428
455
shift
429
456
done
430
457
431
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-url ${quiet: +--quiet} -- " $@ "
458
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-url \
459
+ ${quiet: +--quiet} \
460
+ -- \
461
+ " $@ "
432
462
}
433
463
434
464
#
@@ -480,7 +510,13 @@ cmd_summary() {
480
510
shift
481
511
done
482
512
483
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper summary ${files: +--files} ${cached: +--cached} ${for_status: +--for-status} ${summary_limit: +-n $summary_limit } -- " $@ "
513
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper summary \
514
+ ${files: +--files} \
515
+ ${cached: +--cached} \
516
+ ${for_status: +--for-status} \
517
+ ${summary_limit: +-n $summary_limit } \
518
+ -- \
519
+ " $@ "
484
520
}
485
521
#
486
522
# List all submodules, prefixed with:
@@ -521,8 +557,14 @@ cmd_status()
521
557
shift
522
558
done
523
559
524
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper status ${quiet: +--quiet} ${cached: +--cached} ${recursive: +--recursive} -- " $@ "
560
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper status \
561
+ ${quiet: +--quiet} \
562
+ ${cached: +--cached} \
563
+ ${recursive: +--recursive} \
564
+ -- \
565
+ " $@ "
525
566
}
567
+
526
568
#
527
569
# Sync remote urls for submodules
528
570
# This makes the value for remote.$remote.url match the value
@@ -554,7 +596,11 @@ cmd_sync()
554
596
esac
555
597
done
556
598
557
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper sync ${quiet: +--quiet} ${recursive: +--recursive} -- " $@ "
599
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper sync \
600
+ ${quiet: +--quiet} \
601
+ ${recursive: +--recursive} \
602
+ -- \
603
+ " $@ "
558
604
}
559
605
560
606
cmd_absorbgitdirs ()
0 commit comments