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

Re: I use whatchanged!

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Aug 20, 2025, 20:46 UTC
Message-ID
<868d0df4-992e-41a7-901e-288a4ff8527d@app.fastmail.com>
In-Reply-To
<83241BDE-1E0D-489A-9181-C608E9FCC17B@gmail.com>
On Wed, Aug 20, 2025, at 21:20, Dan Allen wrote:
Show 15 quoted lines
> I just updated to git 2.51 and got the spam about whatchanged being
> nominated for removal.
>
> I run an important python script that uses this to set file times to
> the dates of the actual git commits, so as I browse the files I can see
> their last modified date, and not the date that the file was last
> synced.
>
> Now, if there is a different way of setting a git repository's files'
> mod dates to their actual date and time of last commit, please let me
> know!
>
> The exact usage in the script is:
>
>     git whatchanged --pretty=%at
According to git-whatchanged(1)
    replace: git whatchanged <opts>
    with:    git log <opts> --raw --no-merges
Should be enough.
-- 
semantic drift
Previous: Dan AllenNext: Junio C Hamano
Message 2 of 7 in “I use whatchanged!”
  1. Dan AllenAug 20, 2025
  2. Kristoffer HaugsbakkAug 20, 2025
  3. Junio C HamanoAug 20, 2025
  4. Ben ZaninAug 20, 2025
  5. Jeff KingAug 25, 2025
  6. Junio C HamanoAug 25, 2025
  7. Kristoffer HaugsbakkAug 28, 2025

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.