author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 12 Jan 2007 02:25:01 +0000 (21:25 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 14 Jan 2007 07:15:11 +0000 (02:15 -0500) | ||
commit | cacbdd0afb481a6f3019e5e7db98f88e40941fd5 | |
tree | 5920db2442543c86e76671e358f0e51620f23101 | tree | snapshot |
parent | 8a8c55ea709d26ca397d6588e85579339885f507 | commit | diff |
Fix repository corruption when using marks for modified blobs.
Apparently we did not copy the blob SHA1 into the stack variable
'sha1' when a mark is used to refer to a prior blob. This code
was not previously tested as the Mozilla CVS -> git-fast-import
program always fed us full SHA1s for modified blobs and did not
use the mark feature there.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Apparently we did not copy the blob SHA1 into the stack variable
'sha1' when a mark is used to refer to a prior blob. This code
was not previously tested as the Mozilla CVS -> git-fast-import
program always fed us full SHA1s for modified blobs and did not
use the mark feature there.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c | diff | blob | history |