Thread (2 messages) 2 messages, 2 authors, 2025-08-20

Re: I use whatchanged!

From: Kristoffer Haugsbakk <hidden>
Date: 2025-08-20 20:46:49

On Wed, Aug 20, 2025, at 21:20, Dan Allen wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help