File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
# 0. Set the current directory to the directory of the script. By this
16
16
# the script can be called from anywhere.
17
17
# 1. Parse the named arguments
18
- # 2. If the parameter "git_push_dryrun" is set, all calls the `git push` in this script
18
+ # 2. If the parameter "git_push_dryrun" is set, all calls to `git push` in this script
19
19
# or in child scripts will be intercepted so that the `--dry-run` and `--porcelain` is added
20
20
# to show what the push would do but not actually do it.
21
21
# 3. If the parameter "verbose" is set, the `-x` flag will be set in bash.
36
36
# with the name of the parameter in upper case (with dash converted to underscore).
37
37
#
38
38
# Special arguments that are always available:
39
- # - "--action=.*": This parameter will be used to dispatch to a function with that name when the
39
+ # - "--action=.*": This parameter will be used to execute a function with that name when the
40
40
# script is started
41
41
# - "--git_push_dryrun=true": This will intercept all calls to `git push` in this script
42
42
# or in child scripts so that the `--dry-run` and `--porcelain` is added
@@ -195,7 +195,7 @@ function isFunction {
195
195
}
196
196
197
197
# readJsonProp(jsonFile, property)
198
- # - restriction: property needs to be on an own line!
198
+ # - restriction: property needs to be on a single line!
199
199
function readJsonProp {
200
200
echo $(sed -En 's/.*"' $2 '"[ ]*:[ ]*"(.*)".*/\1/p' $1 )
201
201
}
You can’t perform that action at this time.
0 commit comments