book/git-gadgets — pull request #1 by eMPee584 (2012-05-14 20:32:04+00:00)
Title: git-mtime: do the folders' mtime, too

if you like, merge. regards!
PS: ur implementation is somewhat more condensed than the one in the samba/rsync repo btw, check that out:
http://ftp.samba.org/pub/unpacked/rsync/support/git-set-file-times