Skip to content

Instantly share code, notes, and snippets.

@danny0838
danny0838 / git-cache-meta-msysgit.sh
Last active April 18, 2020 11:44 — forked from andris9/git-cache-meta.sh
git-cache-meta -- simple file meta data caching and applying.
#!/bin/sh -e
#git-cache-meta -- simple file meta data caching and applying.
#Simpler than etckeeper, metastore, setgitperms, etc.
#from http://www.kerneltrap.org/mailarchive/git/2009/1/9/4654694
#modified by n1k
#modified by the-mars
# - save all files metadata not only from other users
# - save numeric uid and gid
# 2012-03-05 - added filetime, andris9