<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/templates, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-02-24T21:31:09Z</updated>
<entry>
<title>templates/hooks--update.sample: use a lowercase "usage:" string</title>
<updated>2013-02-24T21:31:09Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2013-02-24T00:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a8a84c319e51eb25bfc0ee44d064617c310aa9e'/>
<id>urn:sha1:9a8a84c319e51eb25bfc0ee44d064617c310aa9e</id>
<content type='text'>
Make the usage string consistent with Git.

Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add sample pre-push hook script</title>
<updated>2013-01-18T19:13:22Z</updated>
<author>
<name>Aaron Schrab</name>
<email>aaron@schrab.com</email>
</author>
<published>2013-01-13T05:17:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=87c86dd14abe8db7d00b0df5661ef8cf147a72a3'/>
<id>urn:sha1:87c86dd14abe8db7d00b0df5661ef8cf147a72a3</id>
<content type='text'>
Create a sample of a script for a pre-push hook.  The main purpose is to
illustrate how a script may parse the information which is supplied to
such a hook.  The script may also be useful to some people as-is for
avoiding to push commits which are marked as a work in progress.

Signed-off-by: Aaron Schrab &lt;aaron@schrab.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.7.6' into maint</title>
<updated>2011-10-26T23:09:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-26T23:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=411e6cf1971936ba31ffa142a6d5dc5c06dc8f7a'/>
<id>urn:sha1:411e6cf1971936ba31ffa142a6d5dc5c06dc8f7a</id>
<content type='text'>
* maint-1.7.6:
  make the sample pre-commit hook script reject names with newlines, too
  git-read-tree.txt: update sparse checkout examples
  git-read-tree.txt: correct sparse-checkout and skip-worktree description
  git-read-tree.txt: language and typography fixes
  unpack-trees: print "Aborting" to stderr
  Documentation/git-update-index: refer to 'ls-files'
  Documentation: basic configuration of notes.rewriteRef
</content>
</entry>
<entry>
<title>make the sample pre-commit hook script reject names with newlines, too</title>
<updated>2011-10-26T21:31:14Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2011-10-22T17:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c14daa4845ff2ec0d27807fa50f9fac1ca4d6462'/>
<id>urn:sha1:c14daa4845ff2ec0d27807fa50f9fac1ca4d6462</id>
<content type='text'>
The sample pre-commit hook script would fail to reject a file name like
"a\nb" because of the way newlines are handled in "$(...)".  Adjust the
test to count filtered bytes and require there be 0.  Also print all
diagnostics to standard error, not stdout, so they will actually be seen.

Signed-off-by: Jim Meyering &lt;meyering@redhat.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>templates/hooks--*: remove sample hooks without any functionality</title>
<updated>2011-09-27T17:00:35Z</updated>
<author>
<name>Gerrit Pape</name>
<email>pape@smarden.org</email>
</author>
<published>2011-09-27T11:56:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d714b11df2b65e5f4272c1616e561930010be90'/>
<id>urn:sha1:8d714b11df2b65e5f4272c1616e561930010be90</id>
<content type='text'>
Remove the sample post-commit and post-receive hooks.  The sample
post-commit doesn't contain any sample functionality and the comments do
not provide more information than already found in the documentation.
The sample post-receive hooks doesn't provide any sample functionality
either and refers in the comments to a contrib hook that might be
installed in different locations on different systems, which isn't that
helpful.

Signed-off-by: Gerrit Pape &lt;pape@smarden.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Modernize git calling conventions in hook templates</title>
<updated>2010-03-20T16:04:38Z</updated>
<author>
<name>Ben Walton</name>
<email>bwalton@artsci.utoronto.ca</email>
</author>
<published>2010-03-20T14:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=100e762a60a691a4978434f1cd5532e19cad39fc'/>
<id>urn:sha1:100e762a60a691a4978434f1cd5532e19cad39fc</id>
<content type='text'>
The hook templates were still using/referencing 'git-foo' instead of
'git foo.'  This patch updates the sample hooks to use the modern
conventions instead.

Signed-off-by: Ben Walton &lt;bwalton@artsci.utoronto.ca&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make templates honour SHELL_PATH and PERL_PATH</title>
<updated>2010-03-20T16:03:52Z</updated>
<author>
<name>Ben Walton</name>
<email>bwalton@artsci.utoronto.ca</email>
</author>
<published>2010-03-20T14:48:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=502be959531b34e2d9283213b7bca51842639240'/>
<id>urn:sha1:502be959531b34e2d9283213b7bca51842639240</id>
<content type='text'>
The hook script templates were hard coded to use /bin/sh and perl.
This patch ensures that they use the same tools specified for the rest
of the suite.

The impetus for the change was noticing that, as shipped, some of the
hooks used shell constructs that wouldn't work under Solaris' /bin/sh
(eg: $(cmd...) substitutions).

Signed-off-by: Ben Walton &lt;bwalton@artsci.utoronto.ca&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bs/maint-pre-commit-hook-sample'</title>
<updated>2009-11-16T00:41:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-11-16T00:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2dfb96c9fc925ce2f9cd6bd347bc15c1edc368fe'/>
<id>urn:sha1:2dfb96c9fc925ce2f9cd6bd347bc15c1edc368fe</id>
<content type='text'>
* bs/maint-pre-commit-hook-sample:
  pre-commit.sample: Diff against the empty tree when HEAD is invalid
</content>
</entry>
<entry>
<title>pre-commit.sample: Diff against the empty tree when HEAD is invalid</title>
<updated>2009-11-07T07:48:09Z</updated>
<author>
<name>Björn Steinbrink</name>
<email>B.Steinbrink@gmx.de</email>
</author>
<published>2009-11-05T10:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c30eb852e281d55b04465b7814e00396893f74f3'/>
<id>urn:sha1:c30eb852e281d55b04465b7814e00396893f74f3</id>
<content type='text'>
This was already the case for the old "diff --check" call, but the new
one that checks whether there are any non-ascii file names was missing
it, making that check fail for root commits.

Signed-off-by: Björn Steinbrink &lt;B.Steinbrink@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "Don't create the $GIT_DIR/branches directory on init"</title>
<updated>2009-10-31T18:16:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-10-31T18:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c8a58ac5a52b0850fbca87898d1c6aa44cf5626f'/>
<id>urn:sha1:c8a58ac5a52b0850fbca87898d1c6aa44cf5626f</id>
<content type='text'>
This reverts commit 0cc5691a8b05a7eabdeef520c94b1bb3bcac7874.

There is not enough justification for doing this.  We do not update
things in .git/branches and .git/remotes anymore, but still do read
information from there and will keep doing so.

Besides, this breaks quite a lot of tests in t55?? series.
</content>
</entry>
</feed>
