<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/templates, branch v1.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-08-02T07:27:18Z</updated>
<entry>
<title>Fix installation of templates on ancient systems.</title>
<updated>2006-08-02T07:27:18Z</updated>
<author>
<name>Ramsay Allan Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2006-07-29T16:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7ffe7098dca297016f87a7e10554e6736f7c3ae2'/>
<id>urn:sha1:7ffe7098dca297016f87a7e10554e6736f7c3ae2</id>
<content type='text'>
Do not use $(call) for 'shell quoting' paths, and pass DESTDIR down
to the templates makefile.

[jc: we have fixed the main Makefile long time ago, but somehow
 forgot to apply the same fix to templates Makefile.]

Signed-off-by: Ramsay Allan Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>templates/hooks--update: replace diffstat calls with git diff --stat</title>
<updated>2006-07-08T10:11:16Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2006-07-08T08:50:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a895e0268537da731f5efe914ece5e7eac35ef3'/>
<id>urn:sha1:3a895e0268537da731f5efe914ece5e7eac35ef3</id>
<content type='text'>
Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pre-commit hook: complain about conflict markers.</title>
<updated>2006-04-19T22:37:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-19T21:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=61c2bcbd11e3b66a328b3850c01592e5dc1c67bb'/>
<id>urn:sha1:61c2bcbd11e3b66a328b3850c01592e5dc1c67bb</id>
<content type='text'>
Several &lt;&lt;&lt; or === or &gt;&gt;&gt; characters at the beginning of a line
is very likely to be leftover conflict markers from a failed
automerge the user resolved incorrectly, so detect them.

As usual, this can be defeated with "git commit --no-verify" if
you really do want to have those files, just like changes that
introduce trailing whitespaces.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2006-02-26T23:25:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-26T23:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4'/>
<id>urn:sha1:ac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4</id>
<content type='text'>
* maint:
  sample hooks template.
</content>
</entry>
<entry>
<title>sample hooks template.</title>
<updated>2006-02-26T23:16:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-26T23:16:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a204756a45bd357280c156d01858138712493dfa'/>
<id>urn:sha1:a204756a45bd357280c156d01858138712493dfa</id>
<content type='text'>
These two sample hooks try to detect and use the corresponding
commit hook from the same repository.  However, they forgot to
set up GIT_DIR for their own use, so was not in effect.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>rebase: allow a hook to refuse rebasing.</title>
<updated>2006-02-13T08:17:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-13T07:17:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a111c91b01455ee1ea9f33c60da7ad50d460a7b'/>
<id>urn:sha1:9a111c91b01455ee1ea9f33c60da7ad50d460a7b</id>
<content type='text'>
This lets a hook to interfere a rebase and help prevent certain
branches from being rebased by mistake.  A sample hook to show
how to prevent a topic branch that has already been merged into
publish branch.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge fixes up to GIT 1.1.6</title>
<updated>2006-01-30T01:56:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-30T01:56:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36b5b3c65948694d9a92de5a17f2b97c3cd84879'/>
<id>urn:sha1:36b5b3c65948694d9a92de5a17f2b97c3cd84879</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PATCH] pre-commit sample hook: do not barf on the initial import</title>
<updated>2006-01-29T22:52:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-29T22:52:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d37fd03222ad6b38aa6e237f5f191238c0544850'/>
<id>urn:sha1:d37fd03222ad6b38aa6e237f5f191238c0544850</id>
<content type='text'>
The example hook barfs on the initial import.  Ideally it should
produce a diff from an empty tree, but for now let's stop at
squelching the bogus error message.  Often an initial import
involves tons of badly formatted files from foreign SCM, so not
complaining about them like this patch does might actually be a
better idea than enforcing the "Perfect Patch" format on them.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>sample update-hook: sanely handle a new branch head.</title>
<updated>2006-01-25T01:38:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-25T01:37:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41e79c955969c916c0691c31422b5004db7e4025'/>
<id>urn:sha1:41e79c955969c916c0691c31422b5004db7e4025</id>
<content type='text'>
Instead of showing all the history since the beginning of time
leading to the the branch head, show only the changes this new
branch brings to the world.

This originally came from Linus and tested by Andreas Ericsson.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>update-hook: Major overhaul (handling tags, mainly).</title>
<updated>2006-01-25T01:27:33Z</updated>
<author>
<name>Andreas Ericsson</name>
<email>ae@op5.se</email>
</author>
<published>2006-01-04T16:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a3ee7c31469b5418a556a87cbac74509ded1cac'/>
<id>urn:sha1:8a3ee7c31469b5418a556a87cbac74509ded1cac</id>
<content type='text'>
This is the update hook we use in all our git-repos.

It has some improvements over the original version, namely:
* Don't send every commit since dawn of time when adding a new tag.
* When updating an annotated tag, just send the diffs since the last tag.
* Add diffstat output for 'normal' commits (top) and annotated tags (bottom).
* Block un-annotated tags in shared repos.

I'm a bit uncertain about that last one, but it demonstrates how to
disallow updates of a ref which we use, so I kept it.

Note that git-describe is needed for the "changes since last annotated tag"
thing to work.

Signed-off-by: Andreas Ericsson &lt;ae@op5.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
