Print errno upon failure to open the COMMIT_EDITMSG file
commitcdeaf10f7e2754054c7be5d74227c698d2a71890
authorCristian Peraferrer <corellian.c@gmail.com>
Fri, 20 Jun 2008 15:24:20 +0000 (20 17:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Jun 2008 07:01:37 +0000 (21 00:01 -0700)
treee6b1da428323dd72d42d29ffeab1f865b1d46a90
parentae081f3ebd5f65c453051b2db7b83d2a7c280827
Print errno upon failure to open the COMMIT_EDITMSG file

When the COMMIT_EDITMSG cannot be opened, give more information to the user
by giving the 'errno' information.

Signed-off-by: Cristian Peraferrer <corellian.c@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c