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.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

restore_commit_times-0.3-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for restore_commit_times-0.3.tar.gz
Algorithm Hash digest
SHA256 76c7e06c24e886559016afd2c2bd0d4b1a5eea851bba6e330476e61e7f63f68a
MD5 731a5fce10a3e11aa75bd0ba6addb98c
BLAKE2b-256 23c9f22acd1cab830922595598a91bfb6d925cc1594f88bc3914b001b5bde5b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for restore_commit_times-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a371d21beac2747b643ecd4d4f10db0180f276da80ec5142cb076368efec869
MD5 60a4187bedad28313b680deebd42097d
BLAKE2b-256 8269f9ec56b360d812713a3425cdf0de95a73e2238e0899a9d2fa6d2abf17d25

See more details on using hashes here.

Supported by

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