Does Git really need a commit message to go with a commit?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?=
Date: Saturday, April 3, 2010 - 3:06 pm

git-commit(1) doesn't allow you to make a commit without a commit
message. This is annoying and doesn't properly preserve history in
applications like snerp-vortex which replay a SVN dump into Git. You
have to add `$msg = "Git made me do it" unless length $msg' somewhere.

Is there really no way to add a commit with no message with the git
tools? Will anything break if I manually construct a commit with no
message? Are commit messages inherently part of the format or does
git-commit(1) just think it knows better than me?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Does Git really need a commit message to go with a commit?, =?UTF-8?B?w4Z2YXIgQX ..., (Sat Apr 3, 3:06 pm)
Re: Does Git really need a commit message to go with a commit?, =?ISO-8859-1?Q?Santi ..., (Sun Apr 4, 5:37 am)
[PATCH] Add option to git-commit to allow empty log messages, =?UTF-8?q?=C3=86var= ..., (Sun Apr 4, 7:49 am)
Re: [PATCH] Add option to git-commit to allow empty log me ..., =?UTF-8?B?w4Z2YXIgQX ..., (Sun Apr 4, 4:53 pm)
Re: [PATCH] Add option to git-commit to allow empty log me ..., =?UTF-8?B?w4Z2YXIgQX ..., (Mon Apr 5, 5:50 am)
[PATCH v2] Add option to git-commit to allow empty log mes ..., =?UTF-8?q?=C3=86var= ..., (Tue Apr 6, 1:40 am)
Re: [PATCH] Add option to git-commit to allow empty log me ..., =?UTF-8?B?w4Z2YXIgQX ..., (Tue Apr 6, 1:42 am)
Re: [PATCH v2] Add option to git-commit to allow empty log ..., =?UTF-8?B?w4Z2YXIgQX ..., (Wed Apr 7, 7:28 am)
[PATCH] Remove --allow-empty from the git-commit synopsis, =?UTF-8?q?=C3=86var= ..., (Wed Apr 7, 8:09 am)
[PATCH v2] Remove --allow-empty from the git-commit synopsis, =?UTF-8?q?=C3=86var= ..., (Wed Apr 7, 10:28 am)
Re: [PATCH v2] Remove --allow-empty from the git-commit sy ..., =?UTF-8?B?w4Z2YXIgQX ..., (Wed Apr 7, 11:17 am)
[PATCH v3] Remove --allow-empty from the git-commit synopsis, =?UTF-8?q?=C3=86var= ..., (Wed Apr 7, 11:48 am)
[PATCH v4] Remove --allow-empty from the git-commit synopsis, =?UTF-8?q?=C3=86var= ..., (Wed Apr 7, 12:28 pm)