Attachment "against_massive_append.patch" to
ticket [a4295406dd]
added by
anonymous
2011-01-04 15:51:10.
Index: src/checkin.c
===================================================================
--- src/checkin.c
+++ src/checkin.c
@@ -655,15 +655,15 @@
blob_appendf(pOut, "F %F\n", pFile->zName);
pFile = manifest_file_next(pBaseline, 0);
nFBcard++;
}
cmp = 1;
+ blob_resize(&filename, nBasename);
if( pFile==0
|| (cmp = fossil_strcmp(pFile->zName,zName))!=0
|| fossil_strcmp(pFile->zUuid, zUuid)!=0
){
- blob_resize(&filename, nBasename);
if( zOrig && !isSelected ){ zName = zOrig; zOrig = 0; }
if( zOrig==0 || fossil_strcmp(zOrig,zName)==0 ){
blob_appendf(pOut, "F %F %s%s\n", zName, zUuid, zPerm);
}else{
if( zPerm[0]==0 ){ zPerm = " w"; }