星期二, 9月 19, 2006

[Note]WinMerge Filter

無意中看到這篇:WinMerge檔案濾鏡的使用方法,於是動手幫WinMerge加了這個濾鏡,這下子,比對檔案的時候可是快多了!

怎麼新增?
[Tools][Filters],再選 New,WinMerge會開出記事本,把下面內容貼上,存檔。

怎麼使用?
比對時,Filter選為剛剛加入的 cpp_with_cvs 或是自己輸入 [F]cpp_with_cvs,進行 compare 即可。


## This is a directory/file filter template for WinMerge
name: cpp_with_cvs
desc: For company usage.

## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include

## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)

f: \.bak$ ## 備份檔
f: \\~*$ ## 備份檔
f: \\#*$ ## WinCVS 的備份檔
f: \.map$ ## .map, .rom, .axf 都是編譯的產出物
f: \.rom$
f: \.axf$
f: \ChangeLog$ ## ChangeLog 也不要

d: \\CVS$ ## CVS下的檔案不用比對
d: \\\.OBJ_RELEASE$ ## 這兩個都是編譯時的產出
d: \\\.OBJ_DEBUG$

沒有留言: