Fossil SCM
Fix the formatting of the "committer" lines on Git export.
Commit
36731ca5bdabc8f7ef7a7520ea7b63f99e665552
Parent
db6a8e8d3c9882e…
1 file changed
+2
-2
+2
-2
| --- src/export.c | ||
| +++ src/export.c | ||
| @@ -71,12 +71,12 @@ | ||
| 71 | 71 | /* |
| 72 | 72 | ** Found beginning of email address. Look for the end and extract |
| 73 | 73 | ** the part. |
| 74 | 74 | */ |
| 75 | 75 | zEmail = mprintf("%s", &zContact[i]); |
| 76 | - for(i=0; zEmail[i] && zEmail[i]!='>'; i++){} | |
| 77 | - if( zEmail[i]=='>' ) zEmail[i+1] = 0; | |
| 76 | + for(j=0; zEmail[j] && zEmail[j]!='>'; j++){} | |
| 77 | + if( zEmail[j]=='>' ) zEmail[j+1] = 0; | |
| 78 | 78 | }else{ |
| 79 | 79 | /* |
| 80 | 80 | ** Found an end marker for email, but nothing else. |
| 81 | 81 | */ |
| 82 | 82 | zEmail = mprintf("<%s>", zUser); |
| 83 | 83 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -71,12 +71,12 @@ | |
| 71 | /* |
| 72 | ** Found beginning of email address. Look for the end and extract |
| 73 | ** the part. |
| 74 | */ |
| 75 | zEmail = mprintf("%s", &zContact[i]); |
| 76 | for(i=0; zEmail[i] && zEmail[i]!='>'; i++){} |
| 77 | if( zEmail[i]=='>' ) zEmail[i+1] = 0; |
| 78 | }else{ |
| 79 | /* |
| 80 | ** Found an end marker for email, but nothing else. |
| 81 | */ |
| 82 | zEmail = mprintf("<%s>", zUser); |
| 83 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -71,12 +71,12 @@ | |
| 71 | /* |
| 72 | ** Found beginning of email address. Look for the end and extract |
| 73 | ** the part. |
| 74 | */ |
| 75 | zEmail = mprintf("%s", &zContact[i]); |
| 76 | for(j=0; zEmail[j] && zEmail[j]!='>'; j++){} |
| 77 | if( zEmail[j]=='>' ) zEmail[j+1] = 0; |
| 78 | }else{ |
| 79 | /* |
| 80 | ** Found an end marker for email, but nothing else. |
| 81 | */ |
| 82 | zEmail = mprintf("<%s>", zUser); |
| 83 |