FileFilter が有効になっているにもかかわらず、WinMerge が .git フォルダーをフィルターしないのはなぜですか?

FileFilter が有効になっているにもかかわらず、WinMerge が .git フォルダーをフィルターしないのはなぜですか?

Git リポジトリのクローンを比較するときに、ディレクトリ比較タブに .git フォルダーとその内容が表示されるのが煩わしいです。

ツール -> フィルター... ダイアログのリストExclude Source ControlにフィルターがありますFileFilters。このファイルを調べると、フォルダーの行があります.git:

def: include
d: \\\.git$ ## Git directory

.git比較するとフォルダーの差分がまだ表示されるのはなぜですか?

答え1

これは私のワークスペース用に定義したフィルター ファイルです。 Git のフィルタリングなどに使用できるようです。

## This is a directory/file filter template for WinMerge
name: Exclude binaries
desc: Exclude all project binaries and source control

## 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: \.ext$

d: \\subdir$

d: \.git
d: ZZZ_.*
f: libucos3.*\.a

f: *.swp
f: *.pyc

関連情報