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

Re: Accessing the reflog remotely

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Nov 4, 2009, 19:06 UTC
Message-ID
<vpqeioeaz53.fsf@bauges.imag.fr>
In-Reply-To
<alpine.LFD.2.00.0911041243350.10340@xanadu.home>
Nicolas Pitre <nico@fluxnic.net> writes:
> You could checkout the first revision which committer's date is older 
> than midnight.  Of course that means you have to trust that students 
> didn't mess up with time stamps.

Not only that: they could have commited something the day before, and pushed it the day after. In the particular case I have in mind, the deliverable is an intermediate one, and we insist a lot on testing, so the senario is not unlikely: commit dangerous code the day of the deadline, and push it the day after. So, the reflog is definitely the answer here.

But thanks anyway!
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Nicolas PitreNext: Sverre Rabbelier
Message 5 of 8 in “Accessing the reflog remotely”
  1. Matthieu MoyNov 4, 2009
  2. Emanuele AinaNov 4, 2009
  3. Tomas CarneckyNov 4, 2009
  4. Nicolas PitreNov 4, 2009
  5. Matthieu MoyNov 4, 2009
  6. Sverre RabbelierNov 4, 2009
  7. Junio C HamanoNov 4, 2009
  8. Matthieu MoyNov 4, 2009

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.