<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/templates, branch v1.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-05-23T08:39:15Z</updated>
<entry>
<title>Merge branch 'hv/sample-update'</title>
<updated>2009-05-23T08:39:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-23T08:39:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5eb3d945539ece1f305669688ffb981f38bb4337'/>
<id>urn:sha1:5eb3d945539ece1f305669688ffb981f38bb4337</id>
<content type='text'>
* hv/sample-update:
  Extend sample update hook, disable modifying of existing tags
</content>
</entry>
<entry>
<title>Extend sample pre-commit hook to check for non ascii filenames</title>
<updated>2009-05-20T07:04:37Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2009-05-19T20:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d00e364de99d51bb76e437820e23cfa820417ec5'/>
<id>urn:sha1:d00e364de99d51bb76e437820e23cfa820417ec5</id>
<content type='text'>
At the moment non-ascii encodings of filenames are not portably
converted between different filesystems by git. This will most likely
change in the future but to allow repositories to be portable among
different file/operating systems this check is enabled by default.

Signed-off-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pre-commit.sample: don't print incidental SHA1</title>
<updated>2009-05-16T18:57:17Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2009-05-16T10:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c646217e1366b0397552fad8c32acb47fbe8977d'/>
<id>urn:sha1:c646217e1366b0397552fad8c32acb47fbe8977d</id>
<content type='text'>
Make the sample pre-commit hook script discard
all git-rev-parse output, not just stderr.
Otherwise, it would print an SHA1.

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>Extend sample update hook, disable modifying of existing tags</title>
<updated>2009-05-09T07:31:00Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2009-05-08T15:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7742c65ba5d74f9cbb426f206a88ae04be3f46cd'/>
<id>urn:sha1:7742c65ba5d74f9cbb426f206a88ae04be3f46cd</id>
<content type='text'>
Because no special rule for this existed it was allowed by default

Signed-off-by: Heiko Voigt &lt;heiko.voigt@mahr.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hook/update: example of how to prevent branch creation</title>
<updated>2009-04-18T04:26:11Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2009-04-16T20:00:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aed97c677cdfd1b9bbc9b33b5418ad4a29109082'/>
<id>urn:sha1:aed97c677cdfd1b9bbc9b33b5418ad4a29109082</id>
<content type='text'>
Since git doesn't provide a receive.denyBranchCreation or similar, here is
an example of how to be sure users cannot create branches remotely by
pushing a new reference.

This setup has been proven useful to prevent creation of spurious branches
because of users having their remote.origin.push set to HEAD, when they
use `git push` while being on a local topic branch of theirs instead of
the proper one.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Modify description file to say what this file is</title>
<updated>2009-03-04T08:56:52Z</updated>
<author>
<name>John Tapsell</name>
<email>johnflux@gmail.com</email>
</author>
<published>2009-02-19T07:36:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=28001d0873cfce1ad6a44f1c2deaf9388d953cc3'/>
<id>urn:sha1:28001d0873cfce1ad6a44f1c2deaf9388d953cc3</id>
<content type='text'>
A lot of people see this message for the first time on the gitweb
interface, where there is no clue as to what 'this file' means.

Signed-off-by: John Tapsell &lt;johnflux@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix permission bits on sources checked out with an overtight umask</title>
<updated>2008-09-09T20:32:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-22T00:31:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8bdc49265559786533d7f7377b2c39038dd6309'/>
<id>urn:sha1:d8bdc49265559786533d7f7377b2c39038dd6309</id>
<content type='text'>
Two patches 9907721 (templates/Makefile: don't depend on local umask
setting, 2008-02-28) and 96cda0b (templates/Makefile: install is
unnecessary, just use mkdir -p, 2008-08-21) tried to prevent an overtight
umask the builder/installer might have from screwing over the installation
procedure, but we forgot there was another source of trouble.  If the
person who checked out the source tree had an overtight umask, it will
leak out to the built products, which is propagated to the installation
destination.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Install templates with the user and group of the installing personality</title>
<updated>2008-08-20T23:01:45Z</updated>
<author>
<name>Johannes Sixt</name>
<email>johannes.sixt@telecom.at</email>
</author>
<published>2008-08-20T15:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=71f463773a310de016da20136fd7160685f97faa'/>
<id>urn:sha1:71f463773a310de016da20136fd7160685f97faa</id>
<content type='text'>
If 'make install' was run with sufficient privileges, then the installed
templates, which are copied using 'tar', would receive the user and group
of whoever built git. This instructs 'tar' to ignore the user and group
that are recorded in the archive.

Signed-off-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'j6t/mingw'</title>
<updated>2008-07-03T04:57:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-07-03T04:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb1ab2db08f48add4236a5a9c08aa1a6aa4d5d48'/>
<id>urn:sha1:bb1ab2db08f48add4236a5a9c08aa1a6aa4d5d48</id>
<content type='text'>
* j6t/mingw: (38 commits)
  compat/pread.c: Add a forward declaration to fix a warning
  Windows: Fix ntohl() related warnings about printf formatting
  Windows: TMP and TEMP environment variables specify a temporary directory.
  Windows: Make 'git help -a' work.
  Windows: Work around an oddity when a pipe with no reader is written to.
  Windows: Make the pager work.
  When installing, be prepared that template_dir may be relative.
  Windows: Use a relative default template_dir and ETC_GITCONFIG
  Windows: Compute the fallback for exec_path from the program invocation.
  Turn builtin_exec_path into a function.
  Windows: Use a customized struct stat that also has the st_blocks member.
  Windows: Add a custom implementation for utime().
  Windows: Add a new lstat and fstat implementation based on Win32 API.
  Windows: Implement a custom spawnve().
  Windows: Implement wrappers for gethostbyname(), socket(), and connect().
  Windows: Work around incompatible sort and find.
  Windows: Implement asynchronous functions as threads.
  Windows: Disambiguate DOS style paths from SSH URLs.
  Windows: A rudimentary poll() emulation.
  Windows: Implement start_command().
  ...
</content>
</entry>
<entry>
<title>Update sample pre-commit hook to use "diff --check"</title>
<updated>2008-06-27T05:08:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-26T23:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03e2b630f05b88da5ff43f194fed25755de44e8b'/>
<id>urn:sha1:03e2b630f05b88da5ff43f194fed25755de44e8b</id>
<content type='text'>
Now "diff --check" can detect not just whitespace errors but also notices
leftover conflict marker lines, we can use it in the sample pre-commit
hook script.

These days the object layer knows about the empty tree object without
actually having one in the repository, so we can run the test even for the
initial commit.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
