MathHubInfo / Legacy-localmh

DEPRECATED - A cross-repository administration tool for the local authoring in MathHub.info
1 stars 0 forks source link

lmh commit should use -am internally #248

Open kohlhase opened 8 years ago

kohlhase commented 8 years ago

It seems that lmh commit is not doing that at the moment. This makes it almost useless in practice, since I have to add things manually before.

An alternative is to reinterpret the -a option of lmh commit. Currently it is using the -a option for the acting on "all" installed repositories. That is not strictly needed, since we can just cd to localmh/MathHub and do a lmh commit there. So I propose to just pass on the -a option to any commit in the local directory.

kohlhase commented 8 years ago

Actually, I think that all lmh commands should re-interpret -a like this or deprecate it.