diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-05-04 14:07:29 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-05-04 14:07:29 +0300 |
commit | 41e0dfb85e8d69cdf063ce363ce69d6f0c7ec5fc (patch) | |
tree | 8340a7a850127aeb479e2e9fc528bc38ad50881f | |
parent | f8aedc57611d1a37aabb72a4afa8690e0a648a12 (diff) | |
download | saga-poc-41e0dfb85e8d69cdf063ce363ce69d6f0c7ec5fc.tar.gz |
Add: script to get modification date for a file from git
-rwxr-xr-x | docid | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh + +set -eu + +git show "$1" | sed -n '/^Date: */s///p' + |