FileFilter가 적용되어 있음에도 불구하고 WinMerge가 .git 폴더를 필터링하지 않는 이유는 무엇입니까?

FileFilter가 적용되어 있음에도 불구하고 WinMerge가 .git 폴더를 필터링하지 않는 이유는 무엇입니까?

git repo 클론을 비교할 때 디렉터리 비교 탭에 .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

관련 정보