Fixed issue #1135: branch name does not get updated in show log