Commit 023ebb9
committed
refs: introduce git_remote_name_is_valid
Provide a function that can check remote name validity but can also
signal when an error occurs. Use the name "name_is_valid", which is
more suggestive of checking a given name, rather than "is_valid_name",
which suggests that the function checks the validity of the current
remote's name.1 parent 68e3558 commit 023ebb9
2 files changed
+34
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
915 | 924 | | |
916 | 925 | | |
917 | 926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2092 | 2092 | | |
2093 | 2093 | | |
2094 | 2094 | | |
2095 | | - | |
2096 | | - | |
| 2095 | + | |
2097 | 2096 | | |
2098 | 2097 | | |
2099 | | - | |
2100 | | - | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
2101 | 2104 | | |
2102 | 2105 | | |
2103 | 2106 | | |
2104 | 2107 | | |
2105 | | - | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
2106 | 2111 | | |
2107 | 2112 | | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
2108 | 2119 | | |
2109 | 2120 | | |
2110 | 2121 | | |
2111 | | - | |
2112 | | - | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
2113 | 2131 | | |
2114 | 2132 | | |
2115 | 2133 | | |
| |||
0 commit comments