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

Re: Rebase problems

From
MMaaartin <grajcar1@seznam.cz>
Date
Nov 12, 2010, 00:07 UTC
Message-ID
<loom.20101112T005610-259@post.gmane.org>
In-Reply-To
<4CD856B8.7030305@seznam.cz>
Maaartin-1 <grajcar1 <at> seznam.cz> writes:
> On 10-11-08 19:33, Wincent Colaiuta wrote:
> > - If you are really enamored of timestamps, would extracting the latest 
commit timestamp out of the repo be enough?
> 
> Sure it would, I was mostly ignoring the commit timestamp until now, and
> didn't notice that I'm using a different timestamp for the executable
> without any reason. Now I need just trivial changes.
Time to comment on myself:

It works nice, but there's a small problem. I can't take the author date since it gets preserved across rebases, so I could get non-unique dates. The committer date corresponds with the time I actually create the executable, and I really not going to produce more than one executable per second, so it works nicely. Except for rebase, which can create a lot of commits with the same committer date quickly.

Currently I'm using cygwin and rebase is slow like hell, but when I switch to Linux, I'll need something to ensure that there'll be no two commits with the same committer date. I think even a one second sleep could do for me, but can I arrange for it easily?

Previous: Maaartin-1Next: Andreas Schwab
Message 4 of 5 in “Rebase problems”
  1. MaaartinNov 8, 2010
  2. Wincent ColaiutaNov 8, 2010
  3. Maaartin-1Nov 8, 2010
  4. MaaartinNov 12, 2010
  5. Andreas SchwabNov 8, 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.