{"thread":{"id":"2107","subject":"PATCH: fix cg-mkpatch \"-f\" option","startedAt":"2005-10-14T14:23:45Z","lastAt":"2005-10-14T14:23:45Z","messageCount":1,"participants":["Klaus Weidner"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"10101","messageId":"20051014142345.GB30663@w-m-p.com","threadId":"2107","inReplyTo":null,"subject":"PATCH: fix cg-mkpatch \"-f\" option","fromName":"Klaus Weidner","fromEmail":"kweidner@pobox.com","sentAt":"2005-10-14T14:23:45Z","receivedAt":"2005-10-14T14:23:45Z","isPatch":false,"sender":{"key":"kweidner@pobox.com","avatar":null},"body":"Hello, \n\nin cogito-0.15.1, the \"-f\" option to specify a format string for output\nfilenames didn't work, it was getting an empty OPTARG. The following\npatch fixes it for me.\n\n-Klaus\n\n--- cogito/cg-mkpatch.orig\t2005-10-14 09:16:04.000000000 -0500\n+++ cogito/cg-mkpatch\t2005-10-14 09:16:33.000000000 -0500\n@@ -119,7 +119,7 @@\n \t\tmergebase=1\n \telif optparse -d=; then\n \t\toutdir=\"$OPTARG\"\n-\telif optparse -f; then\n+\telif optparse -f=; then\n \t\tfileformat=\"$OPTARG\"\n \telse\n \t\toptfail\n"}]}