mirror of
https://github.com/git/git.git
synced 2024-10-29 21:37:53 +01:00
[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: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
314c30936f
commit
062d671f57
1 changed files with 1 additions and 1 deletions
2
gitk
2
gitk
|
@ -427,7 +427,7 @@ proc readrefs {} {
|
|||
lappend idotherrefs($id) $name
|
||||
}
|
||||
}
|
||||
close $refd
|
||||
catch {close $refd}
|
||||
set mainhead {}
|
||||
set mainheadid {}
|
||||
catch {
|
||||
|
|
Loading…
Reference in a new issue