summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..master
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-01-15 22:45:36 +1100
committerPaul Mackerras <paulus@samba.org>2008-01-15 22:45:43 +1100
commit5a7f577dcedeff60e5267fd9efbfb05987a359e4 (patch)
treeae38419091d7ee0c095a287e80c63ef87b7c3fe3 /t/t4013/diff.format-patch_--inline_--stdout_initial..master
parente7297a1c5fd1133134e78a775e8b87d7679fb526 (diff)
downloadgit-5a7f577dcedeff60e5267fd9efbfb05987a359e4.tar.gz
git-5a7f577dcedeff60e5267fd9efbfb05987a359e4.zip
gitk: Fix bug causing Tcl error when no commits are selected
Some of the stuff that commit 31c0eaa8cc10944ebca8aa31fb59f0b77b1b6e77 added to drawvisible isn't appropriate to do when we have no commits, and this was causing a Tcl error if gitk was invoked in such a fashion that no commits were selected. This fixes it by bailing out of drawvisible early if there are no commits displayed. Bug reported by Johannes Sixt. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions