When scanner is given a ref, it should not traverse the ancesorts

Doing so will e.g. show deleted files in `git ls-files`
This commit is contained in:
rubyist 2014-10-07 13:11:26 -04:00
parent 014d35e6b7
commit 6cda0a7909

@ -43,6 +43,7 @@ func revListShas(ref string, all bool) (chan string, error) {
if all {
refArgs = append(refArgs, "--all")
} else {
refArgs = append(refArgs, "--no-walk")
refArgs = append(refArgs, ref)
}