Commit 5c25dfa
commit: factor status configuration is a helper function
cmd_commit and cmd_status use very similar code to initialize the
wt_status structure. Factor this code into a function to ensure future
changes will keep both versions consistent.
Signed-off-by: Matthieu Moy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent e230c56 commit 5c25dfa
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
166 | 174 | | |
167 | 175 | | |
168 | 176 | | |
| |||
1246 | 1254 | | |
1247 | 1255 | | |
1248 | 1256 | | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
| 1257 | + | |
1253 | 1258 | | |
1254 | 1259 | | |
1255 | 1260 | | |
| |||
1492 | 1497 | | |
1493 | 1498 | | |
1494 | 1499 | | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
| 1500 | + | |
1498 | 1501 | | |
1499 | | - | |
1500 | 1502 | | |
1501 | 1503 | | |
1502 | 1504 | | |
| |||
0 commit comments