Code

sha1_name.c: use warning in preference to fprintf(stderr
authorJon Seymour <jon.seymour@gmail.com>
Tue, 24 Aug 2010 04:52:43 +0000 (14:52 +1000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Aug 2010 17:46:14 +0000 (10:46 -0700)
commiteedce784a7492faa370fd96e372c948cba087965
treef8246b48f41c483c0b8ee8fdcbda9fa201389d95
parente6eedc31d5c3d448d000eecb678ce891a4800b54
sha1_name.c: use warning in preference to fprintf(stderr

This commit changes sha1_name.c to use warning instead of
fprintf(stderr).

Trailing newlines from message formats have been removed
since warning adds one itself.

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c