diff options
| author | Paul Mackerras <paulus@samba.org> | 2007-08-12 17:23:47 +1000 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2007-08-12 17:23:47 +1000 |
| commit | 67a4f1a7f5c778ffa23d1e562feb4cc6d52c9414 (patch) | |
| tree | 2696edfe28c97b44c45a55f3857ae51e3895e7ee /commit.c | |
| parent | gitk: Add a context menu for file list entries (diff) | |
| download | git-67a4f1a7f5c778ffa23d1e562feb4cc6d52c9414.tar.gz git-67a4f1a7f5c778ffa23d1e562feb4cc6d52c9414.zip | |
gitk: Fix bug causing the "can't unset idinlist(...)" error
Under some circumstances, having duplicate parents in a commit could
trigger a "can't unset idinlist" Tcl error. This fixes the cause
(the logic in layoutrows could end up putting the same commit into
rowidlist twice) and also puts a catch around the unset to ignore
the error.
Thanks to Jeff King for coming up with a test script to generate a
repo that shows the problem.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
