Skip to main content

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

restore_commit_times-0.5.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

restore_commit_times-0.5-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file restore_commit_times-0.5.tar.gz.

File metadata

File hashes

Hashes for restore_commit_times-0.5.tar.gz
Algorithm Hash digest
SHA256 22365a91a2cd7afad5019017e61399bb260a9d5fb790528a45138dc53084a382
MD5 91eaba7aa51407e826e54ca6d50c44b8
BLAKE2b-256 8e871f2a8d3645db6a23de7d0922beeaaa91c1af5e460c1a002c2cce0aa2bbb3

See more details on using hashes here.

File details

Details for the file restore_commit_times-0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for restore_commit_times-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9fc8fbede4cc59296735bf6fe34f9726d27ed938ba1838b4f85406c43d83075c
MD5 efce4081051c1ae0e37c2e33ef6af230
BLAKE2b-256 d17f930c15ba08ac95e84f67ae0916c8b75b5f42c7363f55bf167810e66a87c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page