Setup to use DCPAM Git repository

NOTE

In DCPAM Git source codes, Japanese letters are used to describe comments. In order to avoid to mix Japanese character codes, only UTF-8 is accepted. It is recommended to set hooks to avoid commiting source codes with character codes other than UTF-8. Example is shown below.

Description

Repository

dennou-k:/GFD_Dennou_Club/ftp/library/dcpam/git_repos/dcpam.git
http://www.gfd-dennou.org/library/dcpam/git_repos/dcpam.git/

Some rules

  • Only UTF-8 for commit messages is accepted.
  • Only UTF-8 for source codes is accepted.

commit-msg hook

This is an example of commit-msg script.

> cd .git/hooks

Place a commit-msg script.

> chmod 775 commit-msg
> cd ../..

pre-commit フックの設定

This is an example of pre-commit script.

> cd .git/hooks

Place a pre-commit script.

> chmod 775 pre-commit
> cd ../..