]> git.ipfire.org Git - thirdparty/git.git/commit - entry.c
entry.c: remove "checkout-index" from error messages
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 28 Nov 2010 04:36:38 +0000 (11:36 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Nov 2010 22:03:07 +0000 (14:03 -0800)
commitd43e90732bbc8eae6cbfd18f61ca6c82c8920732
treedce9e478ad26876bee565571d4bdf057d7cccc00
parent16529f2e5630d3d155e4dff0ebd3c7c5daa882f9
entry.c: remove "checkout-index" from error messages

Back then when entry.c was part of checkout-index (or checkout-cache
at that time [1]). It makes sense to print the command name in error
messages. Nowadays entry.c is in libgit and can be used by any
commands, printing "git checkout-index: blah" does no more than
confusion. The error messages without it still give enough information.

[1] 12dccc1 (Make fiel checkout function available to the git library - 2005-06-05)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c