frej / fast-export

A mercurial to git converter using git-fast-import
http://repo.or.cz/w/fast-export.git
808 stars 255 forks source link

.hgignore is not replaced by .gitignore #282

Closed pietercardoen closed 2 years ago

pietercardoen commented 2 years ago

The ignore file should be automatically renamed from .hgigore to .gitignore.

frej commented 2 years ago

The syntax used by .hgignore is not same as for .gitignore. As Mercurial allows both globs and regular expressions while Git uses a glob like language, converting between the languages is not trivial. Feel free to create a pull-request for a plugin which uses the file_data_filter if this problem interests you.