Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Do not show blank changes when doing a diff. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
d5729c31b55eaeb7a7e2bea6627f28e0 |
| User & Date: | drh 2011-02-04 03:21:19.852 |
Context
|
2011-02-07
| ||
| 14:34 | Enhance the graph generator so that it uses less memory and so that it is not limited to a fixed number of parents (10) for each node. ... (check-in: 5ee80c545d user: drh tags: trunk) | |
|
2011-02-04
| ||
| 03:21 | Do not show blank changes when doing a diff. ... (check-in: d5729c31b5 user: drh tags: trunk) | |
|
2011-02-02
| ||
| 01:09 | After a few days of internal use for testing, merge the changes for the new LEAF meta-data table into the trunk. NB: "<b>fossil all rebuild</b>" is required when updating through this change. ... (check-in: 5ac4e15182 user: drh tags: trunk) | |
Changes
Changes to src/diffcmd.c.
| ︙ | ︙ | |||
64 65 66 67 68 69 70 |
blob_read_from_file(&file2, zFile2);
zName2 = zName;
}
/* Compute and output the differences */
blob_zero(&out);
text_diff(pFile1, &file2, &out, 5, ignoreEolWs);
| > | | > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
blob_read_from_file(&file2, zFile2);
zName2 = zName;
}
/* Compute and output the differences */
blob_zero(&out);
text_diff(pFile1, &file2, &out, 5, ignoreEolWs);
if( blob_size(&out) ){
printf("--- %s\n+++ %s\n", zName, zName2);
printf("%s\n", blob_str(&out));
}
/* Release memory resources */
blob_reset(&file2);
blob_reset(&out);
}else{
int cnt = 0;
Blob nameFile1; /* Name of temporary file to old pFile1 content */
|
| ︙ | ︙ |