For some reason I get, what I call an "uneven" output from Ack/Ag in the quickfix list window.
My project directory structure is the following:
/home/user/projects/myproject
|
---- llvm-or1k
|
---- clang-or1k
I did a search with Ag using the following command:
:ag --nogroup --nocolor --column -S -U BuildSchedGraph /home/user/projects/myproject
And got the following output (snippet)
...
/home/user/projects/myproject/llvm-or1k/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h|176 col 63| /// BuildSchedUnits, AddSchedEdges - Helper functions for BuildSchedGraph.
llvm-or1k/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp|100 col 3| BuildSchedGraph(AA);
/home/user/projects/myproject/llvm-or1k/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp|336 col 3| BuildSchedGraph(NULL);
...
I can't understand why the first and the last "finds" have /home/user/projects/myproject
prepended to the path while the second one doesn't.
This is becoming quite annoying.
Any help is appreciated.