I am new to Devops and stuck with setting up fetchdepth in my Azure devops pipelines. One of the devops is suggesting to set it to minimum to 10 so that Sonarcloud does proper analysis else everything is squashed into 1 commit.
can someone elaborate how sonar analysis is impacted because of this? To me latest/last commit should hold the changes underneath and be good to analyse. :)