<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/script/git-hooks/pre-commit-hook, branch talloc-2.3.3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>Add a wrapper script as git pre-commit hook</title>
<updated>2018-04-25T23:09:27+00:00</updated>
<author>
<name>Ralph Boehme</name>
<email>slow at samba.org</email>
</author>
<published>2018-04-10T11:04:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8649e216650de85cd73eda64caa2e338d59582d5'/>
<id>8649e216650de85cd73eda64caa2e338d59582d5</id>
<content type='text'>
When developer mode is enabled, the wrapper script
"script/git-hooks/pre-commit-hook" gets installed as

  .git/hooks/pre-commit

and calls "script/git-hooks/pre-commit-script".

This way we can later modify the "script/git-hooks/pre-commit-script"
without the need to ever change the installed commit hook itself.

Signed-off-by: Ralph Boehme &lt;slow at samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin at meltin.net&gt;
Reviewed-by: Jeremy Allison &lt;jra at samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When developer mode is enabled, the wrapper script
"script/git-hooks/pre-commit-hook" gets installed as

  .git/hooks/pre-commit

and calls "script/git-hooks/pre-commit-script".

This way we can later modify the "script/git-hooks/pre-commit-script"
without the need to ever change the installed commit hook itself.

Signed-off-by: Ralph Boehme &lt;slow at samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin at meltin.net&gt;
Reviewed-by: Jeremy Allison &lt;jra at samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
