0

I have a repository under version control and I am using Magit as an interface to git.

I can see one unstaged change in a file after executing magit-status (C-x g). This means the file was changed and the change was saved.

However, I can't see when this change happened in Magit's magit-status dashboard. I also tried using magit-blame. But it only shows information about date (and author) after the change was committed (which is not the case).

Is it possible to know when the unstaged change was made? How?

1 Answer 1

3

Unstaged changes have not been committed yet. Neither magit or git has any idea of when the changes happened, they only see the file is different to what was committed.

You can check the modification time of the file, though. If you use dired-x, you can just press C-xC-j to invoke dired-jump to open a dired buffer with point at the file in question with the last modification time displayed.

1
  • Thanks. Dired was just in front of my eyes... Commented Sep 28, 2022 at 12:24

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.