diff options
| author | Paul Mackerras <paulus@samba.org> | 2007-12-29 21:13:34 +1100 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2007-12-29 21:13:34 +1100 |
| commit | eb5f8c9c00716dd3f55b1f09329309a657c492e0 (patch) | |
| tree | a6f703c6a24499bf25399642f8aa62382a88fc36 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | fc2a256f4a49732226b742762b628af6a8bd05d8 (diff) | |
| download | git-eb5f8c9c00716dd3f55b1f09329309a657c492e0.tar.gz git-eb5f8c9c00716dd3f55b1f09329309a657c492e0.zip | |
gitk: Don't try to show local changes from a head that isn't shown
When updating the display, if the checked-out head has moved on and
isn't currently shown, and there are local changes, we could try to
insert a fake row with a parent that isn't displayed, leading to a
Tcl error. This is because we check whether the checked-out head
is displayed before rereading the references (which is when we discover
that the head has moved). This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
