Files
git/builtin
Jonathan Nieder 418c9b176c do not let git_path clobber errno when reporting errors
Because git_path() calls vsnprintf(), code like

	fd = open(git_path("SQUASH_MSG"), O_WRONLY | O_CREAT, 0666);
	die_errno(_("Could not write to '%s'"), git_path("SQUASH_MSG"));

can end up printing an error indicator from vsnprintf() instead of
open() by mistake.  Store the path we are trying to write to in a
temporary variable and pass _that_ to die_errno(), so the messages
written by git cherry-pick/revert and git merge can avoid this source
of confusion.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-11-17 15:06:27 -08:00
..
2011-11-02 12:35:37 -07:00
2011-06-20 14:27:36 -07:00
2011-10-26 16:16:29 -07:00
2011-09-12 11:43:58 -07:00
2011-10-06 13:54:32 -07:00
2011-10-03 11:55:57 -07:00
2011-09-01 15:46:13 -07:00
2011-05-31 12:19:11 -07:00
2011-10-10 15:56:18 -07:00
2011-08-25 14:42:11 -07:00