".git/info/exclude" meaning

".git/info/exclude" meaning

by Roberto Catanuto -
Number of replies: 1

Moodle 3.9.8

Hi, I'm going to revise my upgrading procedure and found this file, whose meaning is not straightforward for me:

".git/info/exclude"

what is this "exclude" about?

I can see the name of my additional plugins, which I regularly update by the way.

Thank you very much


The full content of the file is here:

# git ls-files --others --exclude-from=.git/info/exclude

# Lines that start with '#' are comments.

# For a project mostly in C, the following would be a good set of

# exclude patterns (uncomment them if you want to use them):

# *.[oa]

# *~

.htaccess

filter/wiris/

lib/editor/atto/plugins/wiris/

local/wirisquizzes/

mod/hvp/

mod/quiz/accessrule/safeexambrowser/

question/type/essaywiris/

question/type/freehanddrawing/

question/type/gapfill/

question/type/matchwiris/

question/type/multianswerwiris/

question/type/multichoicewiris/

question/type/shortanswerwiris/

question/type/truefalsewiris/

question/type/wq/

Average of ratings: -
In reply to Roberto Catanuto

Re: ".git/info/exclude" meaning

by Ken Task -
Picture of Particularly helpful Moodlers

That's as it should be me thinks!

See: https://git-scm.com/docs/gitignore

The .git directory at code root tracks moodle core code ... not plugins.

Plugins, as we all know, have been known to malfunction and not compatible with core code on updates and especially on upgrades.

The primary example that comes to mind ... addon themes.

In your list, wiris ... which is kinda different than most plugins in that one gets a 'freebie' up to a cap usage limit ... then it requires $ and licensing ... as I understand it.

'SoS', Ken