Gitlab documentation is not so detailed as compared to what you have explained.
I also thought path with all should give me all commits. But strangely for my usecase path gives me the latest commits, path with all as true does gives me 2-3 or 0 commits and same is with path with all as true and ref_name.
Thats why had raised this topic, if you can guide me