rejeep / f.el

Modern API for working with files and directories in Emacs
GNU General Public License v3.0
680 stars 68 forks source link

Fix `f-common-parent` bug with same paths #51

Closed Silex closed 8 years ago

Silex commented 8 years ago

Doing (f-common-parent '("keke" "keke")) does an infinite loop.

Didn't test it much, please do :)

rejeep commented 8 years ago

Can you please add a test for it? See https://github.com/rejeep/f.el/blob/master/test/f-paths-test.el#L143

Silex commented 8 years ago

@rejeep: done, please check it's meaningful

rejeep commented 8 years ago

Great, thanks! :+1: