Sublime Forum

Folder History in Sublime Merge

#1

I know we can search file history in sublime merge by using path:

path:app/main/index.js

But how to search for folder history? We can search for folder history in gitk by using gitk app/main. However, I tried path:app/main; it won’t work in Sublime Merge. path:app/main* won’t work neither.

Any idea how to list folder history in Sublime Merge?

Thanks!

0 Likes

#2

You need an extra / on the end of the folder so that merge knows you want to get the history of the contents. Try path:app/main/* instead and see if that works better.

0 Likes

#3

Thanks for this! That works, but I need to include subfolder as well.

path:app/main/* works, but it won’t show all changes inside its subfolder. path:app/* would show nothing, as there is no file at all at app/, only folders.

0 Likes

#4

Oh looks like i figured it out by myself. I can use double wildcard. path:app/** would show all subfolder. Great!

3 Likes