blob: 397f45d5cdaee48a2f093daa4470812626204285 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
## About
A Perl script, that wrapped some _git_ command to get the updated-timestamps (committed-timestamps) from HEAD's tree for [git](https://git-scm.com/).
## 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_.
|