]> git.ipfire.org Git - thirdparty/git.git/commit
Remove unnecessary duplicate_count in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 10:03:32 +0000 (05:03 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 11:05:22 +0000 (06:05 -0500)
commit80144727acc401070039434987692276dcb9273c
treef34115d3665cfa967e5e577deda550daf56cad5d
parentf70b653429ebc7fdde0b36a63e1deb4aadb450d3
Remove unnecessary duplicate_count in fast-import.

There is little reason to be keeping a global duplicate_count
value when we also keep it per object type.  The global counter can
easily be computed at the end, once all processing has completed.
This saves us a couple of machine instructions in an unimportant
part of code.  But it looks slightly better to me to not keep
two counters around.

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