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:
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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user