Skip to content

last-modified support #2256

@joshtriplett

Description

@joshtriplett

Summary 💡

As documented in https://github.blog/open-source/git/highlights-from-git-2-52/ , the new git last-modified command efficiently walks commits to determine the last modification to each file in a tree.

Motivation 🔦

This would help for operations like displaying a directory with the most recent commit that modifies it (as various Git UIs and forges do). It's also useful for importing/exporting a git tree into some other context that wants an mtime for every file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions