Code

gitk: Avoid a crash in selectline if commitinfo($id) isn't set
authorPaul Mackerras <paulus@samba.org>
Fri, 7 Mar 2008 10:19:18 +0000 (21:19 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 7 Mar 2008 10:19:18 +0000 (21:19 +1100)
commitd76afb15ada0e9e29cae2d83cd35d9489a042b0c
treeb4144bc94259c44677a030fcac2b5d227690e66f
parentc9cfdc9601668841a5909facd43aed72e7a8dee5
gitk: Avoid a crash in selectline if commitinfo($id) isn't set

Occasionally I see a crash in selectline with commitinfo($id) not
set.  This makes sure it is set by calling getcommit $id if it isn't.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk