{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":5302564,"defaultBranch":"master","name":"getopt_port","ownerLogin":"kimgr","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-08-05T10:18:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/169074?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1687615096.238233","currentOid":""},"activityList":{"items":[{"before":"6ad8cc105b55ad9f83136129fd0c6c2a209da43e","after":"9d3d387087d252970923db7f297f681622c4e026","ref":"refs/heads/master","pushedAt":"2024-03-03T14:27:15.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Fix warning (#9)\n\nOn 64-bit systems, the difference between two pointers is a 64-bit integer.","shortMessageHtmlLink":"Fix warning (#9)"}},{"before":"1515ad2c94982b2176b370c74fafb8c92fd49452","after":"6ad8cc105b55ad9f83136129fd0c6c2a209da43e","ref":"refs/heads/master","pushedAt":"2023-06-24T13:58:34.476Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Add test case for omitted optional arg with more arguments after\n\nhttps://github.com/kimgr/getopt_port/issues/5 describes a situation\nwhere an omitted optional argument would lead to reading subsequent\narguments and values as the optional's value.\n\nAdd a testcase to capture the spirit of the report. It seems to work\njust fine.","shortMessageHtmlLink":"Add test case for omitted optional arg with more arguments after"}},{"before":null,"after":"6340b754bc8a23377737e0a7a3090254bb530664","ref":"refs/heads/optional-with-trail","pushedAt":"2023-06-24T13:58:16.238Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Add test case for omitted optional arg with more arguments after\n\nhttps://github.com/kimgr/getopt_port/issues/5 describes a situation\nwhere an omitted optional argument would lead to reading subsequent\narguments and values as the optional's value.\n\nAdd a testcase to capture the spirit of the report. It seems to work\njust fine.","shortMessageHtmlLink":"Add test case for omitted optional arg with more arguments after"}},{"before":"ae4fe9791a0be54a7e20030abd7e6638b86542a9","after":"1515ad2c94982b2176b370c74fafb8c92fd49452","ref":"refs/heads/master","pushedAt":"2023-06-24T13:41:38.616Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Make sure exact matches take precedence over abbrevations\n\nConsider an options setup with multiple flags with shared prefix, e.g.\n\n option opts[] = {\n {\"error\", optional_argument, NULL, 'e'},\n {\"error_always\", optional_argument, NULL, 'a'},\n null_opt\n };\n\nThe '--error' flag used to be unreachable, as the 'error' prefix would\nmatch both 'error' and 'error_always', leading to an ambiguous state.\n\nNow consider exact matches separately from abbreviations, so we can use\nshorter and longer flag names side by side, even if they overlap.","shortMessageHtmlLink":"Make sure exact matches take precedence over abbrevations"}},{"before":"b5f0b99beec5a7888e5a4eb1f493f4e7dd07b46d","after":"d0b94f763c8c11d9428b66f68b98b65aca8af01e","ref":"refs/heads/prefix-match","pushedAt":"2023-06-24T13:39:58.385Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Make sure exact matches take precedence over abbrevations\n\nConsider an options setup with multiple flags with shared prefix, e.g.\n\n option opts[] = {\n {\"error\", optional_argument, NULL, 'e'},\n {\"error_always\", optional_argument, NULL, 'a'},\n null_opt\n };\n\nThe '--error' flag used to be unreachable, as the 'error' prefix would\nmatch both 'error' and 'error_always', leading to an ambiguous state.\n\nNow consider exact matches separately from abbreviations, so we can use\nshorter and longer flag names side by side, even if they overlap.","shortMessageHtmlLink":"Make sure exact matches take precedence over abbrevations"}},{"before":null,"after":"b5f0b99beec5a7888e5a4eb1f493f4e7dd07b46d","ref":"refs/heads/prefix-match","pushedAt":"2023-06-24T13:38:07.676Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Make sure exact matches take precedence over abbrevations\n\nConsider an options setup with multiple flags with shared prefix, e.g.\n\n option opts[] = {\n {\"error\", optional_argument, NULL, 'e'},\n {\"error_always\", optional_argument, NULL, 'a'},\n null_opt\n };\n\nThe '--error' flag used to be unreachable, as the 'error' prefix would\nmatch both 'error' and 'error_always', leading to an ambiguous state.\n\nNow consider exact matches separately from abbreviations, so we can use\nshorter and longer flag names side by side, even if they overlap.","shortMessageHtmlLink":"Make sure exact matches take precedence over abbrevations"}},{"before":"4173eb55a74e19e6010c7def2437aad8679112c5","after":"ae4fe9791a0be54a7e20030abd7e6638b86542a9","ref":"refs/heads/master","pushedAt":"2023-06-24T13:01:25.054Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Update copyright years","shortMessageHtmlLink":"Update copyright years"}},{"before":null,"after":"ac422c58d49dcc7d9b04deb4f1c396fa505e1d76","ref":"refs/heads/copyright-2023","pushedAt":"2023-06-24T13:00:41.112Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kimgr","name":"Kim Gräsman","path":"/kimgr","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/169074?s=80&v=4"},"commit":{"message":"Update copyright years","shortMessageHtmlLink":"Update copyright years"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0wM1QxNDoyNzoxNS4wMDAwMDBazwAAAAQLA9zq","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0wM1QxNDoyNzoxNS4wMDAwMDBazwAAAAQLA9zq","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0yNFQxMzowMDo0MS4xMTIxNjhazwAAAANIMh0l"}},"title":"Activity · kimgr/getopt_port"}