Skip to content

Commit

Permalink
[PATCH] gitk: Continue and show error message in new repos
Browse files Browse the repository at this point in the history
If there is no commit made yet, gitk just dumps a Tcl error on stderr,
which sometimes is hard to see.  Noticed when gitk was run from Xfce
file manager (thunar's custom action).

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Alex Riesen authored and Paul Mackerras committed Aug 12, 2007
1 parent 314c309 commit 062d671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitk
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ proc readrefs {} {
lappend idotherrefs($id) $name
}
}
close $refd
catch {close $refd}
set mainhead {}
set mainheadid {}
catch {
Expand Down

0 comments on commit 062d671

Please sign in to comment.