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

Re: git-rev-list in local commit order

From
TGThomas Gleixner <tglx@linutronix.de>
Date
May 15, 2005, 19:48 UTC
Message-ID
<1116186533.11872.152.camel@tglx>
In-Reply-To
<4127.10.10.10.24.1116107046.squirrel@linux1>
On Sat, 2005-05-14 at 17:44 -0400, Sean wrote:
> Attached is a preliminary hackish patch to sort git-rev-list in local
> commit order. 
+unsigned long sha1_local_date(const unsigned char *sha1)
+{
+       struct stat st;
+       if (find_sha1_file(sha1, &st))
+               return st.st_mtime;
+       return 0;
+}

Do you really want to base workflow and history information on file times ?

File times are local and completely error prone in distributed environments.

tglx
Previous: SeanNext: Sean
Message 2 of 17 in “git-rev-list in local commit order”
  1. SeanMay 14, 2005
  2. Thomas GleixnerMay 15, 2005
  3. SeanMay 15, 2005
  4. Thomas GleixnerMay 15, 2005
  5. SeanMay 15, 2005
  6. Thomas GleixnerMay 15, 2005
  7. SeanMay 15, 2005
  8. Thomas GleixnerMay 15, 2005
  9. SeanMay 15, 2005
  10. Thomas GleixnerMay 15, 2005
  11. SeanMay 16, 2005
  12. Linus TorvaldsMay 16, 2005
  13. Thomas GleixnerMay 17, 2005
  14. Linus TorvaldsMay 17, 2005
  15. Thomas GleixnerMay 17, 2005
  16. Linus TorvaldsMay 17, 2005
  17. Jon SeymourMay 18, 2005

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.