@@ -30,6 +30,7 @@ GIT_PROTOCOL_FROM_USER=0
30
30
export GIT_PROTOCOL_FROM_USER
31
31
32
32
command=
33
+ quiet=
33
34
branch=
34
35
force=
35
36
reference=
@@ -80,7 +81,7 @@ cmd_add()
80
81
force=$1
81
82
;;
82
83
-q|--quiet)
83
- GIT_QUIET =1
84
+ quiet =1
84
85
;;
85
86
--progress)
86
87
progress=1
@@ -128,7 +129,7 @@ cmd_add()
128
129
usage
129
130
fi
130
131
131
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper add ${GIT_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 ${quiet : +--quiet} ${force: +--force} ${progress: +" --progress" } ${branch: +--branch " $branch " } ${reference_path: +--reference " $reference_path " } ${dissociate: +--dissociate} ${custom_name: +--name " $custom_name " } ${depth: +" $depth " } -- " $@ "
132
133
}
133
134
134
135
#
@@ -144,7 +145,7 @@ cmd_foreach()
144
145
do
145
146
case " $1 " in
146
147
-q|--quiet)
147
- GIT_QUIET =1
148
+ quiet =1
148
149
;;
149
150
--recursive)
150
151
recursive=1
@@ -159,7 +160,7 @@ cmd_foreach()
159
160
shift
160
161
done
161
162
162
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper foreach ${GIT_QUIET : +--quiet} ${recursive: +--recursive} -- " $@ "
163
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper foreach ${quiet : +--quiet} ${recursive: +--recursive} -- " $@ "
163
164
}
164
165
165
166
#
@@ -174,7 +175,7 @@ cmd_init()
174
175
do
175
176
case " $1 " in
176
177
-q|--quiet)
177
- GIT_QUIET =1
178
+ quiet =1
178
179
;;
179
180
--)
180
181
shift
@@ -190,7 +191,7 @@ cmd_init()
190
191
shift
191
192
done
192
193
193
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper init ${GIT_QUIET : +--quiet} -- " $@ "
194
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper init ${quiet : +--quiet} -- " $@ "
194
195
}
195
196
196
197
#
@@ -207,7 +208,7 @@ cmd_deinit()
207
208
force=$1
208
209
;;
209
210
-q|--quiet)
210
- GIT_QUIET =1
211
+ quiet =1
211
212
;;
212
213
--all)
213
214
deinit_all=t
@@ -226,7 +227,7 @@ cmd_deinit()
226
227
shift
227
228
done
228
229
229
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper deinit ${GIT_QUIET : +--quiet} ${force: +--force} ${deinit_all: +--all} -- " $@ "
230
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper deinit ${quiet : +--quiet} ${force: +--force} ${deinit_all: +--all} -- " $@ "
230
231
}
231
232
232
233
#
@@ -241,7 +242,7 @@ cmd_update()
241
242
do
242
243
case " $1 " in
243
244
-q|--quiet)
244
- GIT_QUIET =1
245
+ quiet =1
245
246
;;
246
247
--progress)
247
248
progress=1
@@ -335,7 +336,7 @@ cmd_update()
335
336
done
336
337
337
338
git ${wt_prefix: +-C " $wt_prefix " } submodule--helper update \
338
- ${GIT_QUIET : +--quiet} \
339
+ ${quiet : +--quiet} \
339
340
${force: +--force} \
340
341
${progress: +" --progress" } \
341
342
${remote: +--remote} \
@@ -396,7 +397,7 @@ cmd_set_branch() {
396
397
shift
397
398
done
398
399
399
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-branch ${GIT_QUIET : +--quiet} ${branch: +--branch " $branch " } ${default: +--default} -- " $@ "
400
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-branch ${quiet : +--quiet} ${branch: +--branch " $branch " } ${default: +--default} -- " $@ "
400
401
}
401
402
402
403
#
@@ -409,7 +410,7 @@ cmd_set_url() {
409
410
do
410
411
case " $1 " in
411
412
-q|--quiet)
412
- GIT_QUIET =1
413
+ quiet =1
413
414
;;
414
415
--)
415
416
shift
@@ -425,7 +426,7 @@ cmd_set_url() {
425
426
shift
426
427
done
427
428
428
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-url ${GIT_QUIET : +--quiet} -- " $@ "
429
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper set-url ${quiet : +--quiet} -- " $@ "
429
430
}
430
431
431
432
#
@@ -496,7 +497,7 @@ cmd_status()
496
497
do
497
498
case " $1 " in
498
499
-q|--quiet)
499
- GIT_QUIET =1
500
+ quiet =1
500
501
;;
501
502
--cached)
502
503
cached=1
@@ -518,7 +519,7 @@ cmd_status()
518
519
shift
519
520
done
520
521
521
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper status ${GIT_QUIET : +--quiet} ${cached: +--cached} ${recursive: +--recursive} -- " $@ "
522
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper status ${quiet : +--quiet} ${cached: +--cached} ${recursive: +--recursive} -- " $@ "
522
523
}
523
524
#
524
525
# Sync remote urls for submodules
@@ -531,7 +532,7 @@ cmd_sync()
531
532
do
532
533
case " $1 " in
533
534
-q|--quiet)
534
- GIT_QUIET =1
535
+ quiet =1
535
536
shift
536
537
;;
537
538
--recursive)
@@ -551,7 +552,7 @@ cmd_sync()
551
552
esac
552
553
done
553
554
554
- git ${wt_prefix: +-C " $wt_prefix " } submodule--helper sync ${GIT_QUIET : +--quiet} ${recursive: +--recursive} -- " $@ "
555
+ git ${wt_prefix: +-C " $wt_prefix " } submodule--helper sync ${quiet : +--quiet} ${recursive: +--recursive} -- " $@ "
555
556
}
556
557
557
558
cmd_absorbgitdirs ()
572
573
command=$1
573
574
;;
574
575
-q|--quiet)
575
- GIT_QUIET =1
576
+ quiet =1
576
577
;;
577
578
--cached)
578
579
cached=1
0 commit comments