Re: [PATCH v3] Advertise the ability to abort a commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jul 30, 2008, at 1:53 PM, Anders Melchiorsen wrote:

An empty commit message is now treated as a normal situation, not an error.

Signed-off-by: Anders Melchiorsen <mail@xxxxxxxxxxxxxxxx>
---

So, I decided that I find it wrong to promote functionality
that results in an error. The error is now changed into a
normal exit (with status code 1.)

'git commit' should return with an error any time it does not commit. Otherwise scripts could get confused, thinking everything went fine when nothing actually got done. Here, the user decided something was in error and canceled out, the same way using using ^C causes a non- zero return status.

~~ Brian
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux