From: http://davrieb.livejournal.com/ Date: Sat, 19 Sep 2009 05:49:16 +0000 (-0400) Subject: fix a typo and remove commneted out ctime line X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/f8bc52eea3b39a989a7dd8ab2b1746266d208d71 fix a typo and remove commneted out ctime line --- diff --git a/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn b/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn index cb14df77f..9685a6859 100644 --- a/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn +++ b/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn @@ -89,7 +89,7 @@ Do I have it right? >>>>> -- [[Jon]] > A quick workaround for me to get modification times right is the following -> little zsh script, which unfortynately only works for git: +> little zsh script, which unfortunately only works for git: #!/usr/bin/env zsh @@ -97,7 +97,6 @@ Do I have it right? for FILE in **/*(.); do TIMES="`git log --follow --pretty=format:%ai $FILE`" - #CTIME="`echo $TIMES | tail -n1`" MTIME="`echo $TIMES | head -n1`" echo touch -m -d "$MTIME" $FILE