all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: git-mestrelion-tools  ]

Package: git-restore-mtime (2022.12-1)

Links for git-restore-mtime

Screenshot

Debian Resources:

Download Source Package git-mestrelion-tools:

Maintainer:

External Resources:

Similar packages:

set timestamps to the date of a file's last commit

This utility can set timestamps in a git checkout to the last commit that changes a given file. This is useful whenever meaningful mtimes are wanted, as "last change" is better than "last checkout". Use cases include syncing timestamps on a web server's contents, preparing a release tarball, etc. Pretty much, every scenario other than an unclean source tree where you're about to type "make" without "make clean".

When called from a .git/hooks/post-checkout trigger, this is the equivalent of Subversion's "use-commit-times".

Unlike metastore, git restore-mtime gives you only commit times rather than the true original timestamp; on the other hand it works retroactively and doesn't require a manual action by every contributor in every working copy.

This package includes three other utilities:

 * git clone-subset - clones only some files from a repository (inc. history)
 * git find-uncommitted-repos - recursively searches for unclean git repos
 * git strip-merge - filters away some files during a merge

Tags: Software Development: Revision Control, Implemented in: Python, implemented-in::shell, role::program, Works with: Version control system

Other Packages Related to git-restore-mtime

  • depends
  • recommends
  • suggests
  • enhances

Download git-restore-mtime

Download for all available architectures
Architecture Package Size Installed Size Files
all 19.5 kB59.0 kB [list of files]