Code

http.c::new_http_pack_request: do away with the temp variable filename
authorTay Ray Chuan <rctay89@gmail.com>
Mon, 19 Apr 2010 14:46:43 +0000 (22:46 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Apr 2010 00:57:50 +0000 (17:57 -0700)
commit90d05713575ea6ed21d05228bcda8461f7b28ccf
treee23264b7f72017f712c07c33cf30902f98e5ac8e
parent750ef42516bb343a7755f003720e43cd8dd64c3e
http.c::new_http_pack_request: do away with the temp variable filename

Now that the temporary variable char *filename is only used in one
place, do away with it and just call sha1_pack_name() directly.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c