{"thread":{"id":"39063","subject":"git commit --date format","startedAt":"2015-04-13T15:42:18Z","lastAt":"2015-04-14T17:10:59Z","messageCount":2,"participants":["乙酸鋰","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259302","messageId":"CAHtLG6SPqoZJ+bc6eaHEAkEN9VAwuq+hh4OUG8opOETRQKfUyg@mail.gmail.com","threadId":"39063","inReplyTo":null,"subject":"git commit --date format","fromName":"乙酸鋰","fromEmail":"ch3cooli@gmail.com","sentAt":"2015-04-13T15:42:18Z","receivedAt":"2015-04-13T15:42:18Z","isPatch":false,"sender":{"key":"ch3cooli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2804967?v=4"},"body":"Hi,\n\nIn git < 2.0, git commit --amend --date=\"\" can amend commit with\ncurrent time as author time.\nBut since git 2.0, this does not work, dying with \"invalid date format\".\nI have to instead type git commit --amend --date=\"now\".\nIs empty string date format no longer supported? Or will be fixed?\n"},{"id":"259359","messageId":"xmqqoamq3aak.fsf@gitster.dls.corp.google.com","threadId":"39063","inReplyTo":"CAHtLG6SPqoZJ+bc6eaHEAkEN9VAwuq+hh4OUG8opOETRQKfUyg@mail.gmail.com","subject":"Re: git commit --date format","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2015-04-14T17:10:59Z","receivedAt":"2015-04-14T17:10:59Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"乙酸鋰 <ch3cooli@gmail.com> writes:\n\n> Hi,\n>\n> In git < 2.0, git commit --amend --date=\"\" can amend commit with\n> current time as author time.\n> But since git 2.0, this does not work, dying with \"invalid date format\".\n> I have to instead type git commit --amend --date=\"now\".\n> Is empty string date format no longer supported? Or will be fixed?\n\nI think this was a fix to the overly loose parser which took any\ntypo (including an empty string, e.g. --date=\"$prevuois\" that\nmisspels the name of a shell variable that has the timestamp) as\n\"now\".\n"}]}