aboutsummaryrefslogtreecommitdiff

About

A Perl script, that wrapped some git command to get the updated-timestamps (committed-timestamps) from HEAD's tree for git.

How to use

$ perl ./time-getter.pl

ATTENTION

On basically git concept, objects that have time state (committer committed time and author committed time) is ONLY commit-objects.

Probably this concept is itself intentionally, so this wrapper script is expected to use in some cases as a workaround.

So if possible, you should consider another approach to the case before using this wrapper script.

NOTE

  • This script prints timestamps where each blob-object has changed between trees that are traced by commit-objects history. So if a file is changed in a branch and merged to the main branch with merge commit (e.g. using --no-ff option), the timestamp comes from the merge commit.
  • All timestamps are committer-commit timestamps, not author-commit timestamps.