git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bug: git log showing nothing when using --since and --until flags with specific dates

From
CSColin Smith <colin.webdev@gmail.com>
Date
Nov 13, 2014, 00:27 UTC
Message-ID
<CAPLyDLo+-SebLvHxVKT7RAiER2c8HdeZQUg7_DGrpER1h-BPQA@mail.gmail.com>
Hi all,

Apologies if this has already been raised or PEBCAK, but I've noticed a bug where git log with certain date ranges breaks things. It appears to be any --since date with a --until date in the future between 2014-12-01 and 2014-12-09. Dates from 2014-12-10 appear to work, and so does the date 2015-12-01.

Tested with the following versions:
git version 2.2.0.rc1.18.gf6f61cb on Ubuntu
git version 2.0.1 on whatever the latest version of OS X is.

To reproduce, on a git repo with a recent enough change to view a checkin after October 1 2014, run 'git log --since=2014-10-01 --until=2014-12-02' - no errors or anything to indicate the command failed are shown, now run 'git log --since=2014-10-01 --until=2014-12-10'.

Btw, the mail daemon appears to reject emails with '550 5.7.1 Content-Policy reject msg: The message contains HTML subpart, therefore we consider it SPAM or Outlook Virus. TEXT/PLAIN is accepted.! BF:<U 0.499737>; S1752168AbaKMAGd' - makes reporting bugs a bit of a hassle...

Cheers,
Colin Smith
Next: Jeff King
Message 1 of 11 in “Bug: git log showing nothing when using --since and --until flags with specific dates”
  1. Colin SmithNov 13, 2014
  2. Jeff KingNov 13, 2014
  3. 0/2 approxidate and future ISO-like timesJeff King, Nov 13, 2014
  4. 1/2 pass TIME_DATE_NOW to approxidate future-checkJeff King, Nov 13, 2014
  5. 2/2 approxidate: allow ISO-like dates far in the futureJeff King, Nov 13, 2014
  6. Junio C HamanoNov 13, 2014
  7. Jeff KingNov 13, 2014
  8. Jeff KingNov 13, 2014
  9. Junio C HamanoNov 13, 2014
  10. Jeff KingNov 14, 2014
  11. Junio C HamanoNov 14, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.