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

git log --since --until

From
HWHilco Wijbenga <hilco.wijbenga@gmail.com>
Date
Jan 4, 2012, 21:46 UTC
Message-ID
<CAE1pOi30FL+hRSqr3XRNgvOr4yBcTsbTpiNXpxJ=CN1Q=JVo3w@mail.gmail.com>
Hi all,

I need to write sort of a report listing what we worked on (month by month) over the last year. Yippie. ;-)

Luckily most of the information I can get from our Git logs but I noticed some "anomalies". The quotes are there because I do understand (or I think I do anyway) why those "anomalies" are there.

As an example, I ran (on master)
git log --since="01-Dec-2011" --until="31-Dec-2011"

The returned list of commits also included a few from November. I'm guessing that's because --since and --until simply determine a start commit and an end commit in master and any commit that falls in that range is included, whether its actual commit date is in the originally specified date range or not.

Is there a way to just get the commits made in December? (I can manually go through the list, of course, [and that's probably what I'll do] but playing with Git is more fun than writing a report. ;-) )

Cheers, Hilco

Next: Junio C Hamano
Message 1 of 4 in “git log --since --until”
  1. Hilco WijbengaJan 4, 2012
  2. Junio C HamanoJan 4, 2012
  3. Hilco WijbengaJan 4, 2012
  4. Junio C HamanoJan 4, 2012

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.