<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/refs.c, branch v1.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.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-01-20T07:14:31Z</updated>
<entry>
<title>Disable USE_SYMLINK_HEAD by default</title>
<updated>2006-01-20T07:14:31Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2005-11-15T05:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2fabd217330ea6a5b5082e9e86b169e3401de889'/>
<id>urn:sha1:2fabd217330ea6a5b5082e9e86b169e3401de889</id>
<content type='text'>
Disable USE_SYMLINK_HEAD by default.  Recommend using it only for
compatibility with older software.

Treat USE_SYMLINK_HEAD like other optional defines - check whether it's
defined, not its value.

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Revert "We do not like "HEAD" as a new branch name"</title>
<updated>2005-12-18T07:10:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-17T07:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f7087e2e7c34421b4577876969da94d0f6195414'/>
<id>urn:sha1:f7087e2e7c34421b4577876969da94d0f6195414</id>
<content type='text'>
This reverts ee34518d629331dadd58b1a75294369d679eda8b commit.
</content>
</entry>
<entry>
<title>Revert "refs.c: off-by-one fix."</title>
<updated>2005-12-18T07:10:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-17T07:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8872f27b8773dfe7d3dbb440c27d4a5a9dbc8470'/>
<id>urn:sha1:8872f27b8773dfe7d3dbb440c27d4a5a9dbc8470</id>
<content type='text'>
This reverts 06bf6ac4248e834a229027908d405f5e42ac96d7 commit.
</content>
</entry>
<entry>
<title>Forbid pattern maching characters in refnames.</title>
<updated>2005-12-17T02:23:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-16T02:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=68283999f8ae0e9286f8b7f199905b77d608cb80'/>
<id>urn:sha1:68283999f8ae0e9286f8b7f199905b77d608cb80</id>
<content type='text'>
by marking '?', '*', and '[' as bad_ref_char().

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>refs.c: off-by-one fix.</title>
<updated>2005-12-16T02:52:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-16T02:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=06bf6ac4248e834a229027908d405f5e42ac96d7'/>
<id>urn:sha1:06bf6ac4248e834a229027908d405f5e42ac96d7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>We do not like "HEAD" as a new branch name</title>
<updated>2005-12-16T01:56:32Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-12-16T01:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ee34518d629331dadd58b1a75294369d679eda8b'/>
<id>urn:sha1:ee34518d629331dadd58b1a75294369d679eda8b</id>
<content type='text'>
This makes git-check-ref-format fail for "HEAD". Since the check is only
executed when creating refs, the existing symbolic ref is safe.

Otherwise these commands, most likely are pilot errors, would do
pretty funky stuff:

	git checkout -b HEAD
	git pull . other:HEAD

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>refs.c: make sure leading directories exist before writing a ref.</title>
<updated>2005-12-08T01:48:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-08T01:48:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=64224caf888253601b7285ab242f4a12779894b9'/>
<id>urn:sha1:64224caf888253601b7285ab242f4a12779894b9</id>
<content type='text'>
Otherwise cloning a repository with hierarchical branch/tag
over http would fail.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not DWIM in userpath library under strict mode.</title>
<updated>2005-11-20T04:50:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-18T22:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0870ca7fabe6f25095431280e480859f7c66e8ab'/>
<id>urn:sha1:0870ca7fabe6f25095431280e480859f7c66e8ab</id>
<content type='text'>
This should force git-daemon administrator's job a bit harder
because the exact paths need to be given in the whitelist, but
at the same time makes the auditing easier.

This moves validate_symref() from refs.c to path.c, because we
need to link path.c with git-daemon for its "enter_repo()", but
we do not want to link the daemon with the rest of git libraries
and its requirements.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add config variable core.symrefsonly</title>
<updated>2005-11-15T19:42:29Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-11-15T18:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f8348be3be8493a62110a09ab0343213990b416b'/>
<id>urn:sha1:f8348be3be8493a62110a09ab0343213990b416b</id>
<content type='text'>
This allows you to force git to avoid symlinks for refs. Just add
something like

	[core]
		symrefsonly = true

to .git/config.

Don´t forget to "git checkout your_branch", or it does not do anything...

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>create_symref: if symlink fails, fall back to writing a "symbolic ref"</title>
<updated>2005-10-26T06:46:15Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-25T23:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=303958dc42d451aead0e1b9cf7b9836831a05f4b'/>
<id>urn:sha1:303958dc42d451aead0e1b9cf7b9836831a05f4b</id>
<content type='text'>
There are filesystems out there which do not understand symlinks, even if
the OS is perfectly capable of writing them. So, do not fail right away,
but try to write a symbolic ref first. If that fails, you can die().

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
