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

Re: [PATCH] guilt: Make sure the commit time is increasing

From
tytso@mit.edu <tytso@mit.edu>
Date
Jul 6, 2010, 17:12 UTC
Message-ID
<20100706171231.GL25518@thunk.org>
In-Reply-To
<20100706150917.GA1558@burratino>
On Tue, Jul 06, 2010 at 10:09:17AM -0500, Jonathan Nieder wrote:
Show 9 quoted lines
> 
> I have never heard of any version of Git copying poorly with #1
> (commits with the same timestamp).  Avoiding it artificially leads
> inevitably to timestamps in the future when you somehow try to assign
> 100 timestamps for the series you have rebased on top of a patch
> committed a few seconds ago.
> 
> Incrementing the timestamp to ensure strictly monotonic commits seems
> like a recipe for trouble to me.

Um, I'm guessing you spent a lot of time typing your note, but not a lot of time looking at my most recent patch? My most recent patch for guilt simply will set the time of the patch to the current time to avoid setting it into the future.

      	      				- Ted
Previous: Jonathan NiederNext: Jonathan Nieder
Message 11 of 19 in “guilt: Make sure the commit time is increasing”
  1. guilt: Make sure the commit time is increasingTheodore Ts'o, Jul 5, 2010
  2. tytso@mit.eduJul 5, 2010
  3. jeffpc@josefsipek.netJul 5, 2010
  4. jeffpc@josefsipek.netJul 5, 2010
  5. Theodore TsoJul 5, 2010
  6. jeffpc@josefsipek.netJul 5, 2010
  7. tytso@mit.eduJul 5, 2010
  8. Jonathan NiederJul 6, 2010
  9. Theodore TsoJul 6, 2010
  10. Jonathan NiederJul 6, 2010
  11. tytso@mit.eduJul 6, 2010
  12. Jonathan NiederJul 6, 2010
  13. Erik Faye-LundJul 6, 2010
  14. Jeff KingJul 6, 2010
  15. Erik Faye-LundJul 6, 2010
  16. tytso@mit.eduJul 6, 2010
  17. jeffpc@josefsipek.netJul 6, 2010
  18. tytso@mit.eduJul 6, 2010
  19. Josef 'Jeff' SipekJul 14, 2010

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.