diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/bin/filedate')
-rwxr-xr-x | Master/texmf-dist/source/latex/stex/bin/filedate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/stex/bin/filedate b/Master/texmf-dist/source/latex/stex/bin/filedate index 6ea1a5d6870..af49b6550dd 100755 --- a/Master/texmf-dist/source/latex/stex/bin/filedate +++ b/Master/texmf-dist/source/latex/stex/bin/filedate @@ -14,9 +14,9 @@ use Pod::Usage; use Cwd qw(abs_path); my ($file) = @ARGV; -my $date = `svn info $file`; -$date =~ /Last Changed Date: (\d+)-(\d+)-(\d+)/; -$date = $1.'/'.$2.'/'.$3; +my $date = `git log --format='%ai' $file`; +$date = substr($date, 0, index($date, ' ')); +$date =~ s/-/\//g; $file = abs_path($file); open(IN,"<$file"); my @lines = (); |