Diff
Not logged in

Differences From:

File src/manifest.c part of check-in [2bde9f9b3d] - Add "ci" as an alias for "commit". Make provisions for a future "fossil mv" command. by drh on 2008-10-21 06:10:33. [view]

To:

File src/manifest.c part of check-in [31e94c0a04] - Get "configuration push" working. Fix bugs in concealed-field processing of tickets. by drh on 2008-10-25 20:43:28. [view]

@@ -318,19 +318,20 @@
         break;
       }
 
       /*
-      **     J '+'?<name> <value>
+      **     J <name> ?<value>?
       **
       ** Specifies a name value pair for ticket.  If the first character
-      ** of <name> is "+" then the value is appended to any preexisting
-      ** value.
+      ** of <name> is "+" then the <value> is appended to any preexisting
+      ** value.  If <value> is omitted then it is understood to be an
+      ** empty string.
       */
       case 'J': {
         char *zName, *zValue;
         md5sum_step_text(blob_buffer(&line), blob_size(&line));
         if( blob_token(&line, &a1)==0 ) goto manifest_syntax_error;
-        if( blob_token(&line, &a2)==0 ) goto manifest_syntax_error;
+        blob_token(&line, &a2);
         if( blob_token(&line, &a3)!=0 ) goto manifest_syntax_error;
         zName = blob_terminate(&a1);
         zValue = blob_terminate(&a2);
         defossilize(zValue);