<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/remote.c, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-08T19:00:28Z</updated>
<entry>
<title>Merge branch 'jl/nor-or-nand-and'</title>
<updated>2014-04-08T19:00:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-08T19:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d59c12d7ad39f942fc60578ba1e934822f40445b'/>
<id>urn:sha1:d59c12d7ad39f942fc60578ba1e934822f40445b</id>
<content type='text'>
Eradicate mistaken use of "nor" (that is, essentially "nor" used
not in "neither A nor B" ;-)) from in-code comments, command output
strings, and documentations.

* jl/nor-or-nand-and:
  code and test: fix misuses of "nor"
  comments: fix misuses of "nor"
  contrib: fix misuses of "nor"
  Documentation: fix misuses of "nor"
</content>
</entry>
<entry>
<title>Merge branch 'cn/fetch-prune-overlapping-destination'</title>
<updated>2014-04-03T19:38:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-03T19:38:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=400ecca8c10520ced800b4fcdd5bdeb94bd2a556'/>
<id>urn:sha1:400ecca8c10520ced800b4fcdd5bdeb94bd2a556</id>
<content type='text'>
Protect refs in a hierarchy that can come from more than one remote
hierarcies from incorrect removal by "git fetch --prune".

* cn/fetch-prune-overlapping-destination:
  fetch: handle overlaping refspecs on --prune
  fetch: add a failing test for prunning with overlapping refspecs
</content>
</entry>
<entry>
<title>comments: fix misuses of "nor"</title>
<updated>2014-03-31T22:29:27Z</updated>
<author>
<name>Justin Lebar</name>
<email>jlebar@google.com</email>
</author>
<published>2014-03-31T22:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01689909eb9f8366583c44b325d8d9ba259a2538'/>
<id>urn:sha1:01689909eb9f8366583c44b325d8d9ba259a2538</id>
<content type='text'>
Signed-off-by: Justin Lebar &lt;jlebar@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>fetch: handle overlaping refspecs on --prune</title>
<updated>2014-03-26T19:57:52Z</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-02-27T09:00:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6f637122ecd60c59df27b8188b6ddac39ac0063'/>
<id>urn:sha1:e6f637122ecd60c59df27b8188b6ddac39ac0063</id>
<content type='text'>
We need to consider that a remote-tracking branch may match more than
one rhs of a fetch refspec. In such a case, it is not enough to stop at
the first match but look at all of the matches in order to determine
whether a head is stale.

To this goal, introduce a variant of query_refspecs which returns all of
the matching refspecs and loop over those answers to check for
staleness.

Signed-off-by: Carlos Martín Nieto &lt;cmn@elego.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/remote-pushremote-config-reading' into maint</title>
<updated>2014-03-18T21:04:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T21:04:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4097a25429d09b61616845fbe6551587a30fa038'/>
<id>urn:sha1:4097a25429d09b61616845fbe6551587a30fa038</id>
<content type='text'>
"git push" did not pay attention to branch.*.pushremote if it is
defined earlier than remote.pushdefault; the order of these two
variables in the configuration file should not matter, but it did by
mistake.

* jk/remote-pushremote-config-reading:
  remote: handle pushremote config in any order
</content>
</entry>
<entry>
<title>Merge branch 'jk/detect-push-typo-early'</title>
<updated>2014-03-18T20:50:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T20:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9befb340dde630c6766ae17b9a00250ec471c4ba'/>
<id>urn:sha1:9befb340dde630c6766ae17b9a00250ec471c4ba</id>
<content type='text'>
Catch "git push $there no-such-branch" early.

* jk/detect-push-typo-early:
  push: detect local refspec errors early
  match_explicit_lhs: allow a "verify only" mode
  match_explicit: hoist refspec lhs checks into their own function
</content>
</entry>
<entry>
<title>Merge branch 'jk/remote-pushremote-config-reading'</title>
<updated>2014-03-14T21:26:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-14T21:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d52571d5c10efeb35ceeeb17f9b5e5f0ca1c3019'/>
<id>urn:sha1:d52571d5c10efeb35ceeeb17f9b5e5f0ca1c3019</id>
<content type='text'>
"git push" did not pay attention to branch.*.pushremote if it is
defined earlier than remote.pushdefault; the order of these two
variables in the configuration file should not matter, but it did by
mistake.

* jk/remote-pushremote-config-reading:
  remote: handle pushremote config in any order
</content>
</entry>
<entry>
<title>push: detect local refspec errors early</title>
<updated>2014-03-05T21:23:27Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-03-05T19:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba928c13d75172799f5f06f922e5c2f3232cf114'/>
<id>urn:sha1:ba928c13d75172799f5f06f922e5c2f3232cf114</id>
<content type='text'>
When pushing, we do not even look at our push refspecs until
after we have made contact with the remote receive-pack and
gotten its list of refs. This means that we may go to some
work, including asking the user to log in, before realizing
we have simple errors like "git push origin matser".

We cannot catch all refspec problems, since fully evaluating
the refspecs requires knowing what the remote side has. But
we can do a quick sanity check of the local side and catch a
few simple error cases.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>match_explicit_lhs: allow a "verify only" mode</title>
<updated>2014-03-05T21:23:26Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-03-05T19:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=471fd3fe410ad95ef11270a865203482ce4bca7d'/>
<id>urn:sha1:471fd3fe410ad95ef11270a865203482ce4bca7d</id>
<content type='text'>
The match_explicit_lhs function has all of the logic
necessary to verify the refspecs without actually doing any
work. This patch lets callers pass a NULL "match" pointer to
indicate they want a "verify only" operation.

For the most part, we just need to avoid writing to the NULL
pointer. However, we also have to refactor the
try_explicit_object_name sub-function; it indicates success by
allocating and returning a new ref. Instead, we give it an
"out" parameter for the match and return a numeric status.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>match_explicit: hoist refspec lhs checks into their own function</title>
<updated>2014-03-05T21:23:26Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-03-05T19:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f7ade3d36bdffe79c12b563154028f700bb8ed3d'/>
<id>urn:sha1:f7ade3d36bdffe79c12b563154028f700bb8ed3d</id>
<content type='text'>
In preparation for being able to check the left-hand side of
our push refspecs separately, this pulls the examination of
them out into its own function. There should be no behavior
change.

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