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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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