Commit 91e50b2
graph API: use a new color when starting a brand new column
Use a new color for commits that don't have any previously printed
children. The following command demonstrates the changes:
git log --graph --pretty=tformat:'%h %s%n' -7 481c7a6 18b0793
Now the two independent lines of development are displayed with
different colors, instead of both using the same color.
Signed-off-by: Adam Simpkins <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent f3a87d9 commit 91e50b2
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | 235 | | |
231 | 236 | | |
| |||
499 | 504 | | |
500 | 505 | | |
501 | 506 | | |
502 | | - | |
| 507 | + | |
| 508 | + | |
503 | 509 | | |
504 | 510 | | |
505 | | - | |
| 511 | + | |
| 512 | + | |
506 | 513 | | |
| 514 | + | |
507 | 515 | | |
508 | 516 | | |
509 | 517 | | |
| |||
0 commit comments