Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Show modified timestamps (mtime) for files in the Unstaged view #1297

Open
adamency opened this issue Sep 15, 2023 · 1 comment

Comments

@adamency
Copy link

adamency commented Sep 15, 2023

It would be great to be able to see the dates of last modification of files in the "Unstaged changes" diff view of tig (and by extension, but less importantly in the "Untracked" view).

This would allow us to quickly check the most recent unstaged modifications, which are most often the ones (or among the ones) we want to commit. I believe this would add ease of use (even if slightly) to most users, while not being very hard to implement (although I don't know myself where to begin implementing this in the codebase).

I think the most intuitive way would be to display the date in basically the same way as in with :toggle date (D shortcut) for commits, but instead for files in the "Unstaged changes" view.

Do you believe this could be added to tig ?

@koutcher
Copy link
Collaborator

The diff and stage views don't have columns (beside the line number) and just display the result of the underlying git command, so unless there is a git option to add it to the diffstat, that wouldn't be easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants