<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/remote.c, branch v1.6.5.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.6.5.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.6.5.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2009-09-08T08:18:46Z</updated>
<entry>
<title>Add url.&lt;base&gt;.pushInsteadOf: URL rewriting for push only</title>
<updated>2009-09-08T08:18:46Z</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2009-09-07T08:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1c2eafb89bcaf2ddbf4dfb93df19673c0fadaaeb'/>
<id>urn:sha1:1c2eafb89bcaf2ddbf4dfb93df19673c0fadaaeb</id>
<content type='text'>
This configuration option allows systematically rewriting fetch-only URLs
to push-capable URLs when used with push.  For instance:

[url "ssh://example.org/"]
    pushInsteadOf = "git://example.org/"

This will allow clones of "git://example.org/path/to/repo" to subsequently
push to "ssh://example.org/path/to/repo", without manually configuring
pushurl for that remote.

Includes documentation for the new option, bash completion updates, and
test cases (both that pushInsteadOf applies to push, that it does not
apply to fetch, and that it is ignored when pushURL is already defined).

Signed-off-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Wrap rewrite globals in a struct in preparation for adding another set</title>
<updated>2009-09-07T19:58:45Z</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2009-09-07T08:56:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d071d942963fa76b11826f25c54fdfd8b09d7626'/>
<id>urn:sha1:d071d942963fa76b11826f25c54fdfd8b09d7626</id>
<content type='text'>
remote.c has a global set of URL rewrites, accessed by alias_url and
make_rewrite.  Wrap them in a new "struct rewrites", passed to alias_url
and make_rewrite.  This allows adding other sets of rewrites.

Signed-off-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Style fixes, add a space after if/for/while.</title>
<updated>2009-09-01T06:26:28Z</updated>
<author>
<name>Brian Gianforcaro</name>
<email>b.gianfo@gmail.com</email>
</author>
<published>2009-09-01T05:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=eeefa7c90e1b754a2b01d73fd93aaf90afdc4914'/>
<id>urn:sha1:eeefa7c90e1b754a2b01d73fd93aaf90afdc4914</id>
<content type='text'>
The majority of code in core git appears to use a single
space after if/for/while. This is an attempt to bring more
code to this standard. These are entirely cosmetic changes.

Signed-off-by: Brian Gianforcaro &lt;b.gianfo@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'cb/maint-fetch-refspec-wo-dst'</title>
<updated>2009-07-06T16:39:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-07-06T16:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=864cd9491772367b3ce5b0dda98f068e5bd49680'/>
<id>urn:sha1:864cd9491772367b3ce5b0dda98f068e5bd49680</id>
<content type='text'>
* cb/maint-fetch-refspec-wo-dst:
  fetch: do not create ref from empty name
</content>
</entry>
<entry>
<title>Fix various sparse warnings in the git source code</title>
<updated>2009-06-21T04:52:55Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-06-18T17:28:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2af202be3d2f128c6974290cabe13179c6462196'/>
<id>urn:sha1:2af202be3d2f128c6974290cabe13179c6462196</id>
<content type='text'>
There are a few remaining ones, but this fixes the trivial ones. It boils
down to two main issues that sparse complains about:

 - warning: Using plain integer as NULL pointer

   Sparse doesn't like you using '0' instead of 'NULL'. For various good
   reasons, not the least of which is just the visual confusion. A NULL
   pointer is not an integer, and that whole "0 works as NULL" is a
   historical accident and not very pretty.

   A few of these remain: zlib is a total mess, and Z_NULL is just a 0.
   I didn't touch those.

 - warning: symbol 'xyz' was not declared. Should it be static?

   Sparse wants to see declarations for any functions you export. A lack
   of a declaration tends to mean that you should either add one, or you
   should mark the function 'static' to show that it's in file scope.

   A few of these remain: I only did the ones that should obviously just
   be made static.

That 'wt_status_submodule_summary' one is debatable. It has a few related
flags (like 'wt_status_use_color') which _are_ declared, and are used by
builtin-commit.c. So maybe we'd like to export it at some point, but it's
not declared now, and not used outside of that file, so 'static' it is in
this patch.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mg/pushurl'</title>
<updated>2009-06-21T04:47:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-21T04:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=deded16d151ff0f7b80ed21a518928daff09c14c'/>
<id>urn:sha1:deded16d151ff0f7b80ed21a518928daff09c14c</id>
<content type='text'>
* mg/pushurl:
  avoid NULL dereference on failed malloc
  builtin-remote: Make "remote -v" display push urls
  builtin-remote: Show push urls as well
  technical/api-remote: Describe new struct remote member pushurl
  t5516: Check pushurl config setting
  Allow push and fetch urls to be different
</content>
</entry>
<entry>
<title>fetch: do not create ref from empty name</title>
<updated>2009-06-18T16:55:34Z</updated>
<author>
<name>Clemens Buchacher</name>
<email>drizzd@aon.at</email>
</author>
<published>2009-06-17T13:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3eb9699733355d27fd5442492d66ec3c759e0c8b'/>
<id>urn:sha1:3eb9699733355d27fd5442492d66ec3c759e0c8b</id>
<content type='text'>
Previously, the refspec "&lt;src&gt;:" would be expanded to
"&lt;src&gt;:refs/heads/". Instead, treat an empty &lt;dst&gt; just like refspecs
without a colon.

Signed-off-by: Clemens Buchacher &lt;drizzd@aon.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'cb/match_refs_internal_tail'</title>
<updated>2009-06-13T19:47:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-13T19:47:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=57c57a97e1b5b8607fa7c8fae8b0cf20706cc453'/>
<id>urn:sha1:57c57a97e1b5b8607fa7c8fae8b0cf20706cc453</id>
<content type='text'>
* cb/match_refs_internal_tail:
  match_refs: search ref list tail internally
</content>
</entry>
<entry>
<title>Allow push and fetch urls to be different</title>
<updated>2009-06-10T06:46:47Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2009-06-09T16:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=203462347fce0eab563fe77640648a7e8ae64d3b'/>
<id>urn:sha1:203462347fce0eab563fe77640648a7e8ae64d3b</id>
<content type='text'>
This introduces a config setting remote.$remotename.pushurl which is
used for pushes only. If absent remote.$remotename.url is used for
pushes and fetches as before.
This is useful, for example, in order to do passwordless fetches
(remote update) over the git transport but pushes over ssh.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>match_refs: search ref list tail internally</title>
<updated>2009-06-02T02:41:24Z</updated>
<author>
<name>Clemens Buchacher</name>
<email>drizzd@aon.at</email>
</author>
<published>2009-05-31T14:26:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6d2bf96e550731499c73731e5623017d193f837f'/>
<id>urn:sha1:6d2bf96e550731499c73731e5623017d193f837f</id>
<content type='text'>
Avoid code duplication by moving list tail search to match_refs().

This does not change the semantics, except for http-push, which now inserts
to the front of the ref list in order to get rid of the global remote_tail.

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