<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-parse-remote.sh, branch v1.5.0-rc3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.5.0-rc3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.5.0-rc3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2007-01-30T10:30:25Z</updated>
<entry>
<title>git-fetch: Allow fetching the remote HEAD</title>
<updated>2007-01-30T10:30:25Z</updated>
<author>
<name>Santi Béjar</name>
<email>sbejar@gmail.com</email>
</author>
<published>2007-01-30T09:36:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=153e98d263a825c905f2ef4277b29d1fd5e09b42'/>
<id>urn:sha1:153e98d263a825c905f2ef4277b29d1fd5e09b42</id>
<content type='text'>
... with:

$ git fetch ${remote} HEAD

Also

$ git fetch ${remote} :${localref}

worked, but

$ git fetch ${remote} HEAD:{localref}

didn't. Now both are equivalent.

Signed-off-by: Santi Béjar &lt;sbejar@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Rename git-repo-config to git-config.</title>
<updated>2007-01-29T00:16:53Z</updated>
<author>
<name>Tom Prince</name>
<email>tom.prince@ualberta.net</email>
</author>
<published>2007-01-29T00:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e0d10e1c63bc52b37bbec99b07deee794058d9b4'/>
<id>urn:sha1:e0d10e1c63bc52b37bbec99b07deee794058d9b4</id>
<content type='text'>
Signed-off-by: Tom Prince &lt;tom.prince@ualberta.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>parse-remote: do not barf on a remote shorthand without any refs to fetch.</title>
<updated>2007-01-26T06:03:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-26T05:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ae9c6ffe3039fc4d0a89eb253800b3ca58830bb2'/>
<id>urn:sha1:ae9c6ffe3039fc4d0a89eb253800b3ca58830bb2</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>make --upload-pack option to git-fetch configurable</title>
<updated>2007-01-25T07:06:30Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>ukleinek@informatik.uni-freiburg.de</email>
</author>
<published>2007-01-25T04:45:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5dee29ac0fc95999a42c5cbac767724a9ff73cfa'/>
<id>urn:sha1:5dee29ac0fc95999a42c5cbac767724a9ff73cfa</id>
<content type='text'>
This introduces the config item remote.&lt;name&gt;.uploadpack to override the
default value (which is "git-upload-pack").

Signed-off-by: Uwe Kleine-König &lt;ukleinek@informatik.uni-freiburg.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix git-fetch while on detached HEAD not to give needlessly alarming errors</title>
<updated>2007-01-15T23:35:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-15T21:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a0f4280f9e5decd384fe5cc9e30414b901aeb478'/>
<id>urn:sha1:a0f4280f9e5decd384fe5cc9e30414b901aeb478</id>
<content type='text'>
When we are on a detached HEAD, there is no current branch.
There is no reason to leak the error messages to the end user
since this is a situation we expect to see.

This adds -q option to git-symbolic-ref to exit without issuing
an error message if the given name is not a symbolic ref.

By the way, with or without this patch, there currently is no
good way to tell failure modes between "git symbolic-ref HAED"
and "git symbolic-ref HEAD".  Both says "is not a symbolic ref".

We may want to do something about it.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not merge random set of refs out of wildcarded refs</title>
<updated>2007-01-01T02:53:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-01T01:44:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fbc9012307d3b2e1bcee84e4455b11e97f580e07'/>
<id>urn:sha1:fbc9012307d3b2e1bcee84e4455b11e97f580e07</id>
<content type='text'>
When your fetch configuration has only the wildcards, we would
pick the lexicographically first ref from the remote side for
merging, which was complete nonsense.  Make sure nothing except
the one that is specified with branch.*.merge is merged in this
case.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Allow branch.*.merge to talk about remote tracking branches.</title>
<updated>2006-12-24T10:18:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-24T09:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80c797764a6b6a373f0f1f47d7f56b0d950418a9'/>
<id>urn:sha1:80c797764a6b6a373f0f1f47d7f56b0d950418a9</id>
<content type='text'>
People often get confused if the value of branch.*.merge should
be the remote branch name they are fetching from, or the
tracking branch they locally have.  So this allows either.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not support "partial URL shorthand" anymore.</title>
<updated>2006-12-22T23:37:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-22T23:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ea560e6d64374ec1f6c163c276319a3da21a1345'/>
<id>urn:sha1:ea560e6d64374ec1f6c163c276319a3da21a1345</id>
<content type='text'>
We used to support specifying the top part of remote URL in
remotes and use that as a short-hand for the URL.

	$ cat .git/remotes/jgarzik
	URL: git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/
	$ git pull jgarzik/misc-2.6

This is confusing when somebody attempts to do this:

	$ git pull origin/foo

which is not syntactically correct (unless you have origin/foo.git
repository) and should fail, but it resulted in a mysterious
access to the 'foo' subdirectory of the origin repository.

Which was what it was designed to do, but because this is an
oddball "feature" I suspect nobody uses, let's remove it.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>default pull: forget about "newbie protection" for now.</title>
<updated>2006-12-22T23:25:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-22T23:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fb8696d9d82e78fe829fdd95ff9ff10fdfa52ef9'/>
<id>urn:sha1:fb8696d9d82e78fe829fdd95ff9ff10fdfa52ef9</id>
<content type='text'>
This will not be backward compatible no matter how you cut it.
Shelve it for now until somebody comes up with a better way to
determine when we can safely refuse to use the first set of
branchse for merging without upsetting valid workflows.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>parse-remote: mark all refs not for merge only when fetching more than one</title>
<updated>2006-12-22T06:56:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-22T06:39:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d41cb273d313a21979b05dba57d0c6b565b28ba6'/>
<id>urn:sha1:d41cb273d313a21979b05dba57d0c6b565b28ba6</id>
<content type='text'>
An earlier commit a71fb0a1 implemented much requested safety
valve to refuse "git pull" or "git pull origin" without explicit
refspecs from using the first set of remote refs obtained by
reading .git/remotes/origin file or branch.*.fetch configuration
variables to create a merge.  The argument was that while on a
branch different from the default branch, it is often wrong to
merge the default remote ref suitable for merging into the master.

That is fine as a theory.  But many repositories already in use
by people in the real world do not have any of the per branch
configuration crap.  They did not need it, and they do not need
it now.  Merging with the first remote ref listed was just fine,
because they had only one ref (e.g. 'master' from linux-2.6.git)
anyway.

So this changes the safety valve to be a lot looser.  When "git
fetch" gets only one remote branch, the irritating warning would
not trigger anymore.

I think we could also make the warning trigger when branch.*.merge
is not specified for the current branch, but is for some other
branch.  That is for another commit.

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