Set the ignore rule for the submodule in the configuration
This does not affect any currently-loaded instances.
the repository to affect
the name of the submdule
The new value for the ignore rule
0 or an error code