Skip to content

git-utimes desired behaviour for directories #1246

@Xenira

Description

@Xenira

Hello, I have a question regarding the desired behaviour for git-utimes and directories.

We had an environment running with git 2.30.2-1 (bullseye) and updated to 2.39.5-0 (bookworm).
Before the update directories and files were touched. After the update only files are touched.
This was with version 6.4.0 of git-extras but 7.4.0 seems to affect only files as well. I therefore think this is due a change in git itself.

As git does not track directories this is technically correct.
We would still like to have the timestamps of the directories to be updated.

My question is what the desired default behaviour is and if you would accept a PR that adds this back in (maybe behind a flag if not default behaviour)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions