Sublime Merge - How to emulate git log -p <folder>

429 Views Asked by At

I want to get the logs of a specific folder in the repo. How do I do that in Sublime Merge?

For example, with this tree:

root
├── services
│   ├── pom.xml
│   └── protobuf
└── workers
    ├── asyncprocess
    │   ├── pom.xml
    ├── demux
    │   └── pom.xml
    └── pom.xml

Something close to the equivalent of doing:

git log -p workers

So basically I want to narrow the commits by directory.
And git does it recursively. Regards.

1

There are 1 best solutions below

0
nephewtom On

enter image description here

And use: path:<dir>/**

For example:

enter image description here

Which will list commits under emacs directory recursively.