commit: allow editing the commit message even in shared repos
commit79d7582e32ca84eacf032298c8ae3d26816f48d0
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 6 Jan 2016 13:09:43 +0000 (6 14:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Jan 2016 21:52:55 +0000 (7 13:52 -0800)
tree370b19ccf775725f0a2a28e21e7443b330dffe1a
parent833e48259e23aea76f3765d28d1b2200332301f7
commit: allow editing the commit message even in shared repos

It was pointed out by Yaroslav Halchenko that the file containing the
commit message is writable only by the owner, which means that we have
to rewrite it from scratch in a shared repository.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
git-compat-util.h
wrapper.c