Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fast-import: Fix crash when referencing already existing objects
Commit a5c1780 sets the pack_id of existing objects to MAX_PACK_ID. When the same object is referenced later again it is found in the local object hash. With such a pack_id fast-import should not try to locate that object in the newly created pack(s). Signed-off-by: Simon Hausmann <simon@lst.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
- Loading branch information