]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
Remove unnecessary pack_fd global in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 16 Jan 2007 06:20:57 +0000 (01:20 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Jan 2007 06:20:57 +0000 (01:20 -0500)
commit0fcbcae75372f96539ba0f9598112c417d81ab0d
treed1dc09219a8fc8eb7f2492ab36094830d716f015
parent1280158738333109cf0ada2fb378db2cdf7296ad
Remove unnecessary pack_fd global in fast-import.

Much like the pack_sha1 the pack_fd is an unnecessary global
variable, we already have the fd stored in our struct packed_git
*pack_data so that the core library functions in sha1_file.c are
able to lookup and decompress object data that we have previously
written.  Keeping an extra copy of this value in our own variable
is just a hold-over from earlier versions of fast-import and is
now completely unnecessary.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c