0

When I'm looking at files modified using git diff, I see the following (filenames modified, I use more meaningful names in real life!):

/DN/B/F/B.F.S.T/FRT.cs
/DN/B/F/B.F/L/OSL.cs

However, in Azure Devops, when looking at the files changed in a pull request, I see the following:

/DN/B/F/B.F/L/OSL.cs
/DN/B/F/B.F.S.T/FRT.cs

How can I make the alphabetical sorting of files consistent between the two?

3
  • Do you mean maybe git diff --name-only? Just git diff doesn't output just file paths in my experience. Commented Apr 6, 2021 at 1:20
  • @CryptoFool True, but the contents of the files aren't relevant here. Commented Apr 6, 2021 at 2:42
  • I get that. But you're talking about behavior to the level of the ordering of file names. I'd think it important to be clear on just what is emitting those file names. Commented Apr 6, 2021 at 3:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.