Restore files mtime from Git commit times
Project description
For each file in given Git repositories set its mtime to time of the last commit, in which that file was changed.
It is very helpful for building Docker images.
Installation
pip install restore_commit_times
Usage
restore_commit_times ./myrepo1 ./myrepo2
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file restore_commit_times-0.5.tar.gz
.
File metadata
- Download URL: restore_commit_times-0.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22365a91a2cd7afad5019017e61399bb260a9d5fb790528a45138dc53084a382 |
|
MD5 | 91eaba7aa51407e826e54ca6d50c44b8 |
|
BLAKE2b-256 | 8e871f2a8d3645db6a23de7d0922beeaaa91c1af5e460c1a002c2cce0aa2bbb3 |
File details
Details for the file restore_commit_times-0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: restore_commit_times-0.5-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc8fbede4cc59296735bf6fe34f9726d27ed938ba1838b4f85406c43d83075c |
|
MD5 | efce4081051c1ae0e37c2e33ef6af230 |
|
BLAKE2b-256 | d17f930c15ba08ac95e84f67ae0916c8b75b5f42c7363f55bf167810e66a87c9 |