{"thread":{"id":"49268","subject":"git log --author-date-order not always working","startedAt":"2018-09-03T12:54:16Z","lastAt":"2018-09-03T12:54:16Z","messageCount":1,"participants":["thomas menzel"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"357198","messageId":"2056463102.521974.1535979253941@email.1und1.de","threadId":"49268","inReplyTo":null,"subject":"git log --author-date-order not always working","fromName":"thomas menzel","fromEmail":"dev@tomsit.de","sentAt":"2018-09-03T12:54:13Z","receivedAt":"2018-09-03T12:54:16Z","isPatch":false,"sender":{"key":"dev@tomsit.de","avatar":null},"body":"hi,\n\ni just ran into this little possible bug but cant pin it down any further as it happens against a git repo for work project that i cant share.\n\nwhen i run this git log against my repo i get this wrong sort order (1st col is authored date and 2nd is commit date):\n\n$ git log --author=menzel --since=2018-08-10 --pretty=format:\"%ad %cd %h\" --date=short --author-date-order --until=2018-08-20\n2018-08-20 2018-08-20 f2ff8245\n2018-08-17 2018-08-17 d8afbdb7\n2018-08-17 2018-08-17 853fdeca\n2018-08-16 2018-08-20 7dd7b234\n2018-08-16 2018-08-16 41fcb077\n2018-08-16 2018-08-16 f081f38c\n2018-08-15 2018-08-15 95466702\n2018-08-15 2018-08-15 d8e6f91d\n2018-08-15 2018-08-15 c1cd6e14\n2018-08-15 2018-08-15 4bd06ba3\n2018-08-14 2018-08-14 6876182b\n2018-08-14 2018-08-17 6fb982ee\n2018-08-17 2018-08-17 d2323219\n2018-08-17 2018-08-17 b35793b4\n2018-08-17 2018-08-17 ab784faf\n2018-08-10 2018-08-10 9ede6a8d\n2018-08-10 2018-08-10 e4959669\n2018-08-16 2018-08-16 d146a71b\n2018-08-15 2018-08-15 37396218\n2018-08-15 2018-08-15 554042c5\n2018-08-13 2018-08-13 39c80c8f\n\nwhereas this works:\n\n$ git log --author=menzel --since=2018-08-10 --pretty=format:\"%ad %cd %h\" --date=short --author-date-order --until=2018-08-17\n2018-08-17 2018-08-17 b35793b4\n2018-08-17 2018-08-17 ab784faf\n2018-08-16 2018-08-16 d146a71b\n2018-08-16 2018-08-16 41fcb077\n2018-08-16 2018-08-16 f081f38c\n2018-08-15 2018-08-15 37396218\n2018-08-15 2018-08-15 554042c5\n2018-08-15 2018-08-15 95466702\n2018-08-15 2018-08-15 d8e6f91d\n2018-08-15 2018-08-15 c1cd6e14\n2018-08-15 2018-08-15 4bd06ba3\n2018-08-14 2018-08-14 6876182b\n2018-08-13 2018-08-13 39c80c8f\n2018-08-10 2018-08-10 9ede6a8d\n2018-08-10 2018-08-10 e4959669\n\nNote that the different location for the 2018-08-10 entries!\nThe only difference is in the --until parameter. \n\nIt appears that after a certain commit date the ordering after the authored date gets broken. \nAny1 with a clue on what could be the cause?\n\nContext\n- same behavior for a colleague of mine\n- we run on git version 2.16.2.windows.1 in git bash\n\ncheers\n\ntom\n\nPS: i will try sometime later to check this repo with the latest linux version\n"}]}