提交 062d671f 编写于 作者: A Alex Riesen 提交者: Paul Mackerras

[PATCH] gitk: Continue and show error message in new repos

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: NAlex Riesen <raa.lkml@gmail.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 314c3093
......@@ -427,7 +427,7 @@ proc readrefs {} {
lappend idotherrefs($id) $name
}
}
close $refd
catch {close $refd}
set mainhead {}
set mainheadid {}
catch {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册