author | Nicolas Pitre <nico@cam.org> | |
Wed, 1 Nov 2006 22:06:24 +0000 (17:06 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Nov 2006 08:24:07 +0000 (00:24 -0800) | ||
commit | 9ca4a201eaf0c58dbc7184cb2d5ab01c48cb7447 | |
tree | 40d15a0009df42b91567ea938adb389ade0a61a0 | tree | snapshot |
parent | da093d37506f034bfb14e6de26cce9c14b1a1216 | commit | diff |
have index-pack create .keep file more carefully
If by chance we receive a pack which content (list of objects) matches
another pack that we already have, and if that pack is marked with a
.keep file, then we should not overwrite it.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If by chance we receive a pack which content (list of objects) matches
another pack that we already have, and if that pack is marked with a
.keep file, then we should not overwrite it.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
index-pack.c | diff | blob | history |