[Bug 5903] New: allow to ignore binary files that don't have a file extension

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed May 30 14:01:32 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5903

            Bug ID: 5903
           Summary: allow to ignore binary files that don't have a file
                    extension
           Product: Mercurial
           Version: 3.7.3
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: kobi2187 at gmail.com
                CC: mercurial-devel at mercurial-scm.org

I would like to have hg ignore the generated executables of the project, and in
linux, executables normally don't have a file extension.
it seems I can't specify such a pattern for hgignore to understand.
Can you include something similar to the 'file' utility, where a number of
bytes are read to see if the file is a text/ascii/utf file?

it would be fine if the user can enable this feature with a configuration line.
(always ignore binary files)

Thank you

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list