"Show current branch only" fixed

Fix issue #1590
Merge pull request #1645 from kunigaku/fix_1590

Fix Issue #1590 "Show current branch only"