File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1734,6 +1734,15 @@ status.submodulesummary::
17341734 summary of commits for modified submodules will be shown (see
17351735 --summary-limit option of linkgit:git-submodule[1]).
17361736
1737+ submodule.<name>.path::
1738+ submodule.<name>.url::
1739+ submodule.<name>.update::
1740+ The path within this project, URL, and the updating strategy
1741+ for a submodule. These variables are initially populated
1742+ by 'git submodule init'; edit them to override the
1743+ URL and other values found in the `.gitmodules` file. See
1744+ linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.
1745+
17371746tar.umask::
17381747 This variable can be used to restrict the permission bits of
17391748 tar archive entries. The default is 0002, which turns off the
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ submodule.<name>.path::
2929
3030submodule.<name>.url::
3131 Defines an url from where the submodule repository can be cloned.
32+ This may be either an absolute URL ready to be passed to
33+ linkgit:git-clone[1] or (if it begins with ./ or ../) a location
34+ relative to the superproject's origin repository.
3235
3336submodule.<name>.update::
3437 Defines what to do when the submodule is updated by the superproject.
Original file line number Diff line number Diff line change @@ -1327,8 +1327,7 @@ sub esc_param {
13271327sub esc_url {
13281328 my $str = shift ;
13291329 return undef unless defined $str ;
1330- $str =~ s / ([^A-Za-z0-9\- _.~();\/ ;?:@&=])/ sprintf("%%%02X", ord($1 ))/ eg ;
1331- $str =~ s /\+ / %2B/ g ;
1330+ $str =~ s / ([^A-Za-z0-9\- _.~();\/ ;?:@&= ]+)/ CGI::escape($1 )/ eg ;
13321331 $str =~ s / / \+ / g ;
13331332 return $str ;
13341333}
You can’t perform that action at this time.
0 commit comments