Re: [PATCH] Add option to git-commit to allow empty log messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 5, 2010, 02:11 UTC
- Message-ID
- <7vy6h2wsvg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <y2j51dd1af81004041653g9a09915el60104c575dcf6481@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> It's not so much about supporting scripting as exporting the > capabilities of the porcelain to the frontend utilities without > artificial limitations.
As a Porcelain, "git commit" has some leeway to enforce sensible policy on the users, and "forbid commit that does not explain anything" is one such policy. It is not generally a good idea to expose the full capabilities of plumbing to Porcelain if it leads to bad user behaviour, and such "artificial" limitations are safety features we do not want to remove.