parse_date(): '@' prefix forces git-timestamp
[gitweb.git] / git-sh-setup.sh
index 8e427dab31c27bd78d9eac1ad15bc1f5dcc044c4..015fe6e336314c4994b68b966d41b5c09f97d956 100644 (file)
@@ -200,7 +200,7 @@ get_author_ident_from_commit () {
                s/.*/GIT_AUTHOR_EMAIL='\''&'\''/p
 
                g
-               s/^author [^<]* <[^>]*> \(.*\)$/\1/
+               s/^author [^<]* <[^>]*> \(.*\)$/@\1/
                s/.*/GIT_AUTHOR_DATE='\''&'\''/p
 
                q