Commit 5f6f6b8
committed
Split git setup to multiple macros
Configuration requirements for `git` and `git_am` can be different
enough so that that these two should not share the setup routine
in it's entirety [1]. On the other hand, some parts of the setup
can (and should) be kept same in both approaches.
[1]: #3472
This splits the `%__scm_setup_git` macro into several named steps,
which are then combined as needed. It also implements the first
difference between `git` and `git_am` – the author is no longer
configured when using `git_am`.1 parent fe9a914 commit 5f6f6b8
1 file changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1239 | 1239 | | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | | - | |
| 1242 | + | |
1243 | 1243 | | |
| 1244 | + | |
| 1245 | + | |
1244 | 1246 | | |
1245 | | - | |
1246 | | - | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1247 | 1253 | | |
1248 | 1254 | | |
1249 | 1255 | | |
1250 | 1256 | | |
1251 | 1257 | | |
1252 | 1258 | | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1253 | 1265 | | |
1254 | 1266 | | |
1255 | 1267 | | |
1256 | 1268 | | |
1257 | 1269 | | |
1258 | 1270 | | |
| 1271 | + | |
| 1272 | + | |
1259 | 1273 | | |
1260 | | - | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
1261 | 1278 | | |
1262 | 1279 | | |
1263 | 1280 | | |
| |||
0 commit comments