fourier / ztree

Directory tree comparison mode for Emacs
http://www.emacswiki.org/emacs/ZtreeDiff
GNU General Public License v3.0
239 stars 21 forks source link

do you want to make some function to ignore some file #10

Closed rosrad closed 10 years ago

rosrad commented 10 years ago

just like the ignore file in git ,ignore some files or dir to comparing,

this may be a useful function.

fourier commented 10 years ago

Actually you can use the ztree-diff-filter-list variable, it is the list of regexps to filter. I'll try to update the code to allow easier modification of this list.

fourier commented 10 years ago

This for example works for me now before requiring the ztree-diff to only ignore .bak files:

(setq ztree-diff-filter-list (list "\\.bak$") )