Re: Re: Status of doc migration to Git
| From: | Christian Weiske | Date: | Tue, 25 Mar 2014 06:35:15 +0000 |
| Subject: | Re: Re: Status of doc migration to Git | ||
| References: | 1 2 3 4 5 6 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969384911@lists.php.net to get a copy of this message | ||
Hello Hannes,
> > What about a timestamp as revision number, and hash aside. It would
> > help get diffs and show how old-of-date are the file.
> The automatic-expansion is the problem. git doesn't have reserved
> keywords like cvs/svn.
Oh, that's easy to replace with pre-commit hooks. The hook can modify
the file, incrementing the ID.
The downside is that every translator needs to install the pre-commit
hook to make this work.
Gerrit does this for its change ids in commit messages, and simply
rejects commits that do not contain the change id. The git.php.net
server could do that for commits in php-doc/en/ that do not increment
the ID.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc