Changes commit type repo to branch

This commit is contained in:
Eric Amodio
2017-03-29 00:43:22 -04:00
parent 9aadf73407
commit 640a11b3cb
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ export class ShowQuickCommitDetailsCommand extends ActiveEditorCachedCommand {
}
try {
if (!commit || (commit.type !== 'repo' && commit.type !== 'stash')) {
if (!commit || (commit.type !== 'branch' && commit.type !== 'stash')) {
if (repoLog) {
commit = repoLog.commits.get(sha);
// If we can't find the commit, kill the repoLog