{"thread":{"id":"44139","subject":"Bug? Short command line options","startedAt":"2016-09-22T19:03:45Z","lastAt":"2016-09-23T04:48:04Z","messageCount":2,"participants":["Anatoly Borodin","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"302397","messageId":"ns19t4$s0t$1@blaine.gmane.org","threadId":"44139","inReplyTo":null,"subject":"Bug? Short command line options","fromName":"Anatoly Borodin","fromEmail":"anatoly.borodin@gmail.com","sentAt":"2016-09-22T19:03:00Z","receivedAt":"2016-09-22T19:03:45Z","isPatch":false,"sender":{"key":"anatoly.borodin@gmail.com","avatar":"https://gravatar.com/avatar/59f11f1f45cf5ebb7bcca8da94b43cfe5f596d91c0a3e27ad0d2a861cc2bbce7?d=mp&s=160"},"body":"Hi All,\n\n\nis there a good reason why\n\n\tgit fetch -vpnf\n\nworks like\n\n\tgit fetch -v -p -n -f\n\nand\n\t\n\tgit commit -avem msg\n\nworks like\n\n\tgit commit -a -v -e -m msg\n\netc etc, but\n\n\tgit log -wWp\n\nsays\n\n\tfatal: unrecognized argument: -wWp\n\n?\n\n-- \nMit freundlichen Grüßen,\nAnatoly Borodin\n\n"},{"id":"302429","messageId":"20160923044757.7pwwzkqzkb2fqa7l@sigill.intra.peff.net","threadId":"44139","inReplyTo":"ns19t4$s0t$1@blaine.gmane.org","subject":"Re: Bug? Short command line options","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2016-09-23T04:47:57Z","receivedAt":"2016-09-23T04:48:04Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Sep 22, 2016 at 07:03:00PM +0000, Anatoly Borodin wrote:\n\n> is there a good reason why\n> \n> \tgit fetch -vpnf\n> \n> works like\n> \n> \tgit fetch -v -p -n -f\n> \n> and\n> \t\n> \tgit commit -avem msg\n> \n> works like\n> \n> \tgit commit -a -v -e -m msg\n> \n> etc etc, but\n> \n> \tgit log -wWp\n> \n> says\n> \n> \tfatal: unrecognized argument: -wWp\n\nYes. The reason is that the arguments to git-log are passed to the\nrevision.c parser, which predates our parse_options() infrastructure,\nand does not understand bundled options.\n\nIt could be updated to use parse_options(), but nobody has done so yet.\n\n-Peff\n"}]}