Fossil SCM

Fix the formatting of the "committer" lines on Git export.

drh 2014-10-27 18:44 trunk
Commit 36731ca5bdabc8f7ef7a7520ea7b63f99e665552
1 file changed +2 -2
+2 -2
--- src/export.c
+++ src/export.c
@@ -71,12 +71,12 @@
7171
/*
7272
** Found beginning of email address. Look for the end and extract
7373
** the part.
7474
*/
7575
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;
7878
}else{
7979
/*
8080
** Found an end marker for email, but nothing else.
8181
*/
8282
zEmail = mprintf("<%s>", zUser);
8383
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button