tig: No revisions match the given arguments. (unknown revision or path not in the working tree.) #442

Closed
@ttohin

Description

From TIG_TRACE:

git rev-parse --no-revs --no-flags --all 
git rev-parse --flags --no-revs --all 
git rev-parse --symbolic --revs-only --all 
git rev-parse --git-dir --is-inside-work-tree --show-cdup --show-prefix HEAD --symbolic-full-name HEAD 
git config --list 
git ls-remote /repo/.git 
git log --encoding=UTF-8 refs/heads/A refs/heads/B refs/heads/master
--porcelainrefs/remotes/origin/C -zrefs/remotes/origin/D  
--untracked-files=norefs/remotes/origin/E  

I'm on master and I don't understand where tig takes branches A and B from, because I removed them locally. I expect that it should be just like this:

git log --encoding=UTF-8 refs/heads/master

If I execute git log manually:

#: git log --encoding=UTF-8 refs/heads/A refs/heads/B refs/heads/master
--porcelainrefs/remotes/origin/C -zrefs/remotes/origin/D  
--untracked-files=norefs/remotes/origin/E  
fatal: ambiguous argument 'refs/heads/A': unknown revision or path not in the working tree.