Hello,

is there a way to tell git so sort the output of `git show` so that changes 
in the root folder comes first, then everything that has been changed in 
directories under the root path?

For example:

$ git show --pretty="" --name-only origin/develop..HEAD  | sort
Jenkinsfile
a-service/pom.xml
n-service/pom.xml
pom.xml
s-service/pom.xml


As you can see, I have a changed pom.xml with is in the middle, but it is 
on the root folder of the git repository. 

Is there a way to tell git show to sort it, that changed files in the root 
folder will be listed first, then every change in subfolders?

Best regards,
Christian

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to