Commit aa43561
committed
gitk: Don't compare fake children when comparing commits
This fixes a bug where the compare-commits function would advance
to a fake node (one representing local changes, either checked in
but not committed, or not checked in) and then get an error when
trying to get the patch-id. This fixes it by only considering the
real children of each commit.
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>1 parent 4a3da5d commit aa43561
1 file changed
+21
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
992 | 1004 | | |
993 | 1005 | | |
994 | 1006 | | |
| |||
8463 | 8475 | | |
8464 | 8476 | | |
8465 | 8477 | | |
8466 | | - | |
| 8478 | + | |
| 8479 | + | |
8467 | 8480 | | |
8468 | 8481 | | |
8469 | | - | |
8470 | | - | |
| 8482 | + | |
8471 | 8483 | | |
8472 | 8484 | | |
8473 | | - | |
| 8485 | + | |
8474 | 8486 | | |
8475 | 8487 | | |
8476 | | - | |
| 8488 | + | |
| 8489 | + | |
8477 | 8490 | | |
8478 | | - | |
8479 | | - | |
| 8491 | + | |
8480 | 8492 | | |
8481 | 8493 | | |
8482 | | - | |
| 8494 | + | |
8483 | 8495 | | |
8484 | 8496 | | |
8485 | 8497 | | |
| |||
0 commit comments